소스 검색

Worker: Crash on channel errors

Ask Solem 12 년 전
부모
커밋
5f74f51a23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      celery/worker/consumer.py

+ 1 - 1
celery/worker/consumer.py

@@ -184,7 +184,7 @@ class Consumer(object):
             maybe_shutdown()
             try:
                 ns.start(self)
-            except self.connection_errors + self.channel_errors:
+            except self.connection_errors:
                 maybe_shutdown()
                 if ns.state != CLOSE and self.connection:
                     warn(CONNECTION_RETRY, exc_info=True)