1
0
Fork 0

Merge pull request #2714 from WesleyAC/celery-ignore-results

Ignore Celery task results
This commit is contained in:
Mouse Reeve 2023-03-12 16:26:20 -07:00 committed by GitHub
commit 6345beb90d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 34 additions and 34 deletions

View file

@ -115,7 +115,7 @@ def sometimes_async_activity_task(activity_json, queue=MEDIUM):
activity_task.apply_async(args=(activity_json,), queue=queue)
@app.task(queue=MEDIUM)
@app.task(queue=MEDIUM, ignore_result=True)
def activity_task(activity_json):
"""do something with this json we think is legit"""
# lets see if the activitypub module can make sense of this json