Ask Solem %!s(int64=12) %!d(string=hai) anos
pai
achega
9be96fc916
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()