From ad5ea4e29cf961b31384c1f19dfe5d30858a7906 Mon Sep 17 00:00:00 2001 From: "Richard Kuo (Danswer)" Date: Mon, 23 Dec 2024 10:35:16 -0800 Subject: [PATCH] adjust expiry down to 10 min --- 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 c3e339531d6..bc96503ea48 100644 --- a/backend/onyx/background/celery/tasks/beat_schedule.py +++ b/backend/onyx/background/celery/tasks/beat_schedule.py @@ -4,7 +4,7 @@ from onyx.configs.constants import OnyxCeleryPriority from onyx.configs.constants import OnyxCeleryTask -BEAT_EXPIRES_DEFAULT = 30 * 60 # 30 minutes +BEAT_EXPIRES_DEFAULT = 10 * 60 # 30 minutes # we set expires because it isn't necessary to queue up these tasks # it's only important that they run relatively regularly