Permalink
Browse files

Fixes celery#3620

  • Loading branch information...
ketanbhatt committed Sep 13, 2017
1 parent f40ce39 commit c81c9f276cf48e68a654d98c5da7c4792ca4e441
Showing with 2 additions and 2 deletions.
  1. +2 −2 celery/worker/loops.py
@@ -44,10 +44,10 @@ def asynloop(obj, connection, consumer, blueprint, hub, qos,
_enable_amqheartbeats(hub.timer, connection, rate=hbrate)
consumer.on_message = on_task_received
consumer.consume()
obj.on_ready()
obj.controller.register_with_event_loop(hub)
obj.register_with_event_loop(hub)
consumer.consume()
obj.on_ready()
# did_start_ok will verify that pool processes were able to start,
# but this will only work the first time we start, as

0 comments on commit c81c9f2

Please sign in to comment.