mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-24 12:08:13 +08:00
Don't call the scheduler twice: respect Conf.SCHEDULER
This commit is contained in:
@@ -203,7 +203,6 @@ class Sentinel(object):
|
||||
self.start_event.set()
|
||||
Stat(self).save()
|
||||
logger.info(_('Q Cluster-{} running.').format(self.parent_pid))
|
||||
scheduler(broker=self.broker)
|
||||
counter = 0
|
||||
cycle = Conf.GUARD_CYCLE # guard loop sleep in seconds
|
||||
# Guard loop. Runs at least once
|
||||
|
||||
Reference in New Issue
Block a user