mirror of https://github.com/zulip/zulip.git
process_queue: Fix missing worker.setup() in single-threaded codepath.
This commit is contained in:
parent
6d0e868897
commit
06b33da709
|
@ -38,6 +38,7 @@ class Command(BaseCommand):
|
|||
|
||||
logger.info("Worker %d connecting to queue %s" % (worker_num, queue_name))
|
||||
worker = get_worker(queue_name)
|
||||
worker.setup()
|
||||
|
||||
def signal_handler(signal, frame):
|
||||
logger.info("Worker %d disconnecting from queue %s" % (worker_num, queue_name))
|
||||
|
|
Loading…
Reference in New Issue