summaryrefslogtreecommitdiff
path: root/rq/defaults.py
diff options
context:
space:
mode:
authorOleg <oleg.somov84@gmail.com>2023-01-28 19:49:30 -0500
committerGitHub <noreply@github.com>2023-01-29 07:49:30 +0700
commit4bd0f12ec9906eb7a59860afb23e65482e4e7e88 (patch)
treeb6cc82ad1425e4159e191d60dbdd05f0f34c7f59 /rq/defaults.py
parent55f833ab6f0e5f9404cb64f4a824d1453929b7d6 (diff)
downloadrq-4bd0f12ec9906eb7a59860afb23e65482e4e7e88.tar.gz
Restart scheduler process if the process is not alive (#1764)
Diffstat (limited to 'rq/defaults.py')
-rw-r--r--rq/defaults.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rq/defaults.py b/rq/defaults.py
index 2e99a28..bb7ec79 100644
--- a/rq/defaults.py
+++ b/rq/defaults.py
@@ -10,4 +10,5 @@ DEFAULT_FAILURE_TTL = 31536000 # 1 year in seconds
DEFAULT_LOGGING_DATE_FORMAT = '%H:%M:%S'
DEFAULT_SCHEDULER_FALLBACK_PERIOD = 120
DEFAULT_LOGGING_FORMAT = '%(asctime)s %(message)s'
+DEFAULT_MAINTENANCE_TASK_INTERVAL = 10 * 60
CALLBACK_TIMEOUT = 60