From 6f88c2352db0be034efdd2af18ec0fe486b3d85a Mon Sep 17 00:00:00 2001 From: Marcos Prieto Date: Tue, 31 Oct 2023 13:40:31 +0100 Subject: [PATCH] Run the fill annotation task every 4 minutes Timeout on the celery task is 2 minutes. One run every 4 should not cause any issues in case one fails. --- h_periodic/h_beat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h_periodic/h_beat.py b/h_periodic/h_beat.py index a3d8d74..8714447 100644 --- a/h_periodic/h_beat.py +++ b/h_periodic/h_beat.py @@ -55,7 +55,7 @@ "fill-annotation-slim": { "options": {"expires": 30}, "task": "h.tasks.annotations.fill_annotation_slim", - "schedule": crontab(hour="9-13", minute="*/15"), + "schedule": crontab(hour="9-13", minute="*/4"), "kwargs": {"batch_size": 1000}, }, "report-sync-annotations-queue-length": {