From d3cf18160eaac32365daa84d719d7c0c4c6f9d3c Mon Sep 17 00:00:00 2001 From: "Richard Kuo (Danswer)" Date: Fri, 31 Jan 2025 16:13:13 -0800 Subject: [PATCH] lower CLOUD_BEAT_SCHEDULE_MULTIPLIER to 4 --- backend/onyx/background/celery/tasks/beat_schedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/onyx/background/celery/tasks/beat_schedule.py b/backend/onyx/background/celery/tasks/beat_schedule.py index c2e1f163f..6db15cd83 100644 --- a/backend/onyx/background/celery/tasks/beat_schedule.py +++ b/backend/onyx/background/celery/tasks/beat_schedule.py @@ -18,7 +18,7 @@ BEAT_EXPIRES_DEFAULT = 15 * 60 # 15 minutes (in seconds) # hack to slow down task dispatch in the cloud until # we have a better implementation (backpressure, etc) -CLOUD_BEAT_SCHEDULE_MULTIPLIER = 8 +CLOUD_BEAT_SCHEDULE_MULTIPLIER = 4 # tasks that only run in the cloud # the name attribute must start with ONYX_CLOUD_CELERY_TASK_PREFIX = "cloud" to be filtered