From 8506c920b6379121151add8234b6ac803374e852 Mon Sep 17 00:00:00 2001 From: codl Date: Fri, 1 Sep 2017 01:45:24 +0200 Subject: [PATCH] fiddle with schedules --- tasks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks.py b/tasks.py index a3d8212..60af01f 100644 --- a/tasks.py +++ b/tasks.py @@ -258,10 +258,10 @@ def refresh_account_with_longest_time_since_refresh(): app.add_periodic_task(6*60, periodic_cleanup) -app.add_periodic_task(45, queue_fetch_for_most_stale_accounts) -app.add_periodic_task(45, queue_deletes) -app.add_periodic_task(90, refresh_account_with_oldest_post) -app.add_periodic_task(90, refresh_account_with_longest_time_since_refresh) +app.add_periodic_task(40, queue_fetch_for_most_stale_accounts) +app.add_periodic_task(15, queue_deletes) +app.add_periodic_task(60, refresh_account_with_oldest_post) +app.add_periodic_task(180, refresh_account_with_longest_time_since_refresh) if __name__ == '__main__': app.worker_main()