소스 검색

celery.concurrency.process.pool: TimeoutHandler was broken

Ask Solem 15 년 전
부모
커밋
7b9d11f328
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      celery/concurrency/processes/pool.py

+ 2 - 2
celery/concurrency/processes/pool.py

@@ -239,8 +239,8 @@ class AckHandler(PoolThread):
 
 class TimeoutHandler(PoolThread):
 
-    def __init__(self, processes, sentinel_event, cache, t_soft, t_hard):
-        self.sentinel_event = sentinel_event
+    def __init__(self, processes, cache, t_soft, t_hard):
+        self.processes = processes
         self.cache = cache
         self.t_soft = t_soft
         self.t_hard = t_hard