Tweaks
This commit is contained in:
parent
42466ddfba
commit
fcf9524ac0
2 changed files with 4 additions and 1 deletions
3
tasks.py
3
tasks.py
|
@ -117,7 +117,8 @@ def process_new_activity(self, iri: str) -> None:
|
|||
)
|
||||
|
||||
log.info(f"new activity {iri} processed")
|
||||
cache_actor.delay(iri)
|
||||
if not should_delete:
|
||||
cache_actor.delay(iri)
|
||||
except (ActivityGoneError, ActivityNotFoundError):
|
||||
log.exception(f"dropping activity {iri}, skip processing")
|
||||
except Exception as err:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue