Skip to content

Commit 18998bc

Browse files
committed
Changed timing for pop score update
1 parent 641564e commit 18998bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/PyMatcha/utils/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@celery.on_after_configure.connect
1010
def setup_periodic_tasks(sender, **kwargs):
1111
sender.add_periodic_task(60, update_offline_users.s(), name="Update online users every minute")
12-
sender.add_periodic_task(10, update_popularity_scores.s(), name="Update popularity scores every minute")
12+
sender.add_periodic_task(3600, update_popularity_scores.s(), name="Update popularity scores every minute")
1313

1414

1515
@celery.task

0 commit comments

Comments
 (0)