process_queue: Fix missing worker.setup() in single-threaded codepath.

This commit is contained in:
Tim Abbott 2016-03-27 23:16:57 -07:00
parent 6d0e868897
commit 06b33da709
1 changed files with 1 additions and 0 deletions

View File

@ -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))