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