From 8e03411a91b87a7cb7d605a2a4115179f248e959 Mon Sep 17 00:00:00 2001 From: Marcos Prieto Date: Mon, 11 Sep 2023 11:56:23 +0200 Subject: [PATCH] Decrease batch size to measure its impact --- h_periodic/h_beat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/h_periodic/h_beat.py b/h_periodic/h_beat.py index 3f2cec7..f933d6f 100644 --- a/h_periodic/h_beat.py +++ b/h_periodic/h_beat.py @@ -55,8 +55,8 @@ "fill-annotations-pk": { "options": {"expires": 30}, "task": "h.tasks.annotations.fill_pk_and_user_id", - "schedule": crontab(hour="9-12", minute="*/15"), - "kwargs": {"batch_size": 10000}, + "schedule": crontab(hour="9-12", minute="*/10"), + "kwargs": {"batch_size": 5000}, }, "report-sync-annotations-queue-length": { "options": {"expires": 30},