Browse Source

oops, didn't mean to leave that there

Jesper Noehr 15 năm trước cách đây
mục cha
commit
692f856596
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      celery/worker/listener.py

+ 0 - 2
celery/worker/listener.py

@@ -214,8 +214,6 @@ class CarrotListener(object):
         while 1:
             yield self.connection.connection.drain_events()
 
-        return self._mainloop(**kwargs)
-
     def _detect_wait_method(self):
         if hasattr(self.connection.connection, "drain_events"):
             self.broadcast_consumer.register_callback(self.receive_message)