mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-08 14:08:13 +08:00
Guard loop sleep made configurable
This commit is contained in:
@@ -71,6 +71,9 @@ class Conf(object):
|
||||
# Failures are always saved
|
||||
SAVE_LIMIT = conf.get('save_limit', 250)
|
||||
|
||||
# Guard loop sleep in seconds
|
||||
GUARD_CYCLE = conf.get('guard_cycle', 0.5)
|
||||
|
||||
# Disable the scheduler
|
||||
SCHEDULER = conf.get('scheduler', True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user