diff options
author | Oleg <oleg.somov84@gmail.com> | 2023-01-28 19:49:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-29 07:49:30 +0700 |
commit | 4bd0f12ec9906eb7a59860afb23e65482e4e7e88 (patch) | |
tree | b6cc82ad1425e4159e191d60dbdd05f0f34c7f59 /rq/defaults.py | |
parent | 55f833ab6f0e5f9404cb64f4a824d1453929b7d6 (diff) | |
download | rq-4bd0f12ec9906eb7a59860afb23e65482e4e7e88.tar.gz |
Restart scheduler process if the process is not alive (#1764)
Diffstat (limited to 'rq/defaults.py')
-rw-r--r-- | rq/defaults.py | 1 |
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 |