Skip to content

Commit

Permalink
Prefork pool must always enable timeouts as they may be set at runtime.
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Apr 22, 2016
1 parent 8985dcd commit 7104402
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions celery/concurrency/prefork.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def on_start(self):
P = self._pool = Pool(processes=self.limit,
initializer=process_initializer,
on_process_exit=process_destructor,
enable_timeouts=True,
synack=False,
**self.options)

Expand Down

0 comments on commit 7104402

Please sign in to comment.