From 284f0a942c1f7cc43beaf120cb4ef3a6ec021dbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Lalinsk=C3=BD?= Date: Sat, 6 May 2023 07:51:16 +0200 Subject: [PATCH] Run update_lookup_stats more often --- acoustid/cron.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acoustid/cron.py b/acoustid/cron.py index 251e4d8c..42ff2eac 100644 --- a/acoustid/cron.py +++ b/acoustid/cron.py @@ -29,8 +29,8 @@ def wrapper(): schedule = Scheduler() # schedule.every().minute.do(wrap_job(run_backfill_meta_created)) - schedule.every(1).to(3).minutes.do(wrap_job(run_update_lookup_stats)) - schedule.every(1).to(5).minutes.do(wrap_job(run_update_user_agent_stats)) + schedule.every(1).to(10).seconds.do(wrap_job(run_update_lookup_stats)) + schedule.every(1).to(30).seconds.do(wrap_job(run_update_user_agent_stats)) # schedule.every(55).to(65).minutes.do(wrap_job(run_merge_missing_mbids)) schedule.every().day.at("00:10").do(wrap_job(run_update_stats)) return schedule