Ask Solem 12 éve
szülő
commit
9be96fc916
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      celery/worker/consumer.py

+ 1 - 1
celery/worker/consumer.py

@@ -536,7 +536,7 @@ class BlockingConsumer(Consumer):
         self.task_consumer.consume()
 
         debug('Ready to accept tasks!')
-        ns = self.ns
+        ns = self.namespace
 
         while ns.state != CLOSE and self.connection:
             self.maybe_shutdown()