Set priorities on tasks
This commit is contained in:
parent
7b2e4eebd2
commit
de3f18655c
10 changed files with 24 additions and 24 deletions
|
@ -93,7 +93,7 @@ def is_blocked_activity(activity_json):
|
|||
return models.FederatedServer.is_blocked(actor)
|
||||
|
||||
|
||||
@app.task
|
||||
@app.task(queue="medium_priority")
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue