mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 03:43:42 -08:00
oops
This commit is contained in:
parent
acd2317927
commit
5df5a77fbc
1 changed files with 2 additions and 2 deletions
|
@ -359,9 +359,9 @@ def refresh_user_profile_task(user_id):
|
||||||
|
|
||||||
def refresh_community_profile(community_id):
|
def refresh_community_profile(community_id):
|
||||||
if current_app.debug:
|
if current_app.debug:
|
||||||
refresh_community_profile(community_id)
|
refresh_community_profile_task(community_id)
|
||||||
else:
|
else:
|
||||||
refresh_community_profile.apply_async(args=(community_id,), countdown=randint(1, 10))
|
refresh_community_profile_task.apply_async(args=(community_id,), countdown=randint(1, 10))
|
||||||
|
|
||||||
|
|
||||||
@celery.task
|
@celery.task
|
||||||
|
|
Loading…
Add table
Reference in a new issue