Преглед изворни кода

Consumer: Task bootstep must require Events

Ask Solem пре 12 година
родитељ
комит
0fa0279e0d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      celery/worker/consumer.py

+ 1 - 1
celery/worker/consumer.py

@@ -490,7 +490,7 @@ class Control(bootsteps.StartStopStep):
 
 
 class Tasks(bootsteps.StartStopStep):
-    requires = ()
+    requires = (Events, )
 
     def __init__(self, c, initial_prefetch_count=2, **kwargs):
         c.task_consumer = c.qos = None