From 1b429abea6fc55a6bee54fee1c29519a6ca08fbf Mon Sep 17 00:00:00 2001 From: Jack Fragassi Date: Wed, 13 Sep 2023 11:02:57 -0700 Subject: [PATCH] Add comment --- superset/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/superset/config.py b/superset/config.py index 80203ba78e722..1145a7693f7c4 100644 --- a/superset/config.py +++ b/superset/config.py @@ -914,6 +914,8 @@ class D3Format(TypedDict, total=False): [86400, "24 hours"], ] +# This is used as a workaround for the alerts & reports scheduler task to get the time +# celery beat triggered it, see https://github.com/celery/celery/issues/6974 for details CELERY_BEAT_SCHEDULER_EXPIRES = timedelta(weeks=1) # Default celery config is to use SQLA as a broker, in a production setting