Skip to content

Commit 7b9d11f

Browse files
author
Ask Solem
committed
celery.concurrency.process.pool: TimeoutHandler was broken
1 parent 4d496f2 commit 7b9d11f

File tree

1 file changed

+2
-2
lines changed
  • celery/concurrency/processes

1 file changed

+2
-2
lines changed

celery/concurrency/processes/pool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ def run(self):
239239

240240
class TimeoutHandler(PoolThread):
241241

242-
def __init__(self, processes, sentinel_event, cache, t_soft, t_hard):
243-
self.sentinel_event = sentinel_event
242+
def __init__(self, processes, cache, t_soft, t_hard):
243+
self.processes = processes
244244
self.cache = cache
245245
self.t_soft = t_soft
246246
self.t_hard = t_hard

0 commit comments

Comments
 (0)