Cache actor icon in its own task
This commit is contained in:
parent
ae8ed147c7
commit
6a459d0f87
4 changed files with 24 additions and 4 deletions
|
@ -95,7 +95,7 @@ def _update_process_inbox(update: ap.Update, new_meta: _NewMeta) -> None:
|
|||
elif obj.has_type(ap.ACTOR_TYPES):
|
||||
with no_cache():
|
||||
actor = ap.fetch_remote_activity(obj.get_actor().id)
|
||||
update_cached_actor(actor)
|
||||
update_cached_actor(actor)
|
||||
|
||||
|
||||
@process_inbox.register
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue