소스 검색

Remove the Process from waiting_to_start in on_process_down. Process is gone, so we don't bother killing it in verify_process_alive.

Ionel Cristian Mărieș 11 년 전
부모
커밋
8cab129397
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      celery/concurrency/asynpool.py

+ 1 - 0
celery/concurrency/asynpool.py

@@ -570,6 +570,7 @@ class AsynPool(_pool.Pool):
             if inq:
                 busy_workers.discard(inq)
             hub_remove(proc.sentinel)
+            waiting_to_start.discard(proc)
         self.on_process_down = on_process_down
 
     def _create_write_handlers(self, hub,