Skip to content

Commit

Permalink
add segfault detection to TQM
Browse files Browse the repository at this point in the history
* prevents indefinite hangs when a worker segfaults
  • Loading branch information
nitzmahone authored and bcoca committed May 18, 2017
1 parent ba3a0e8 commit 569377e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/executor/task_queue_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def has_dead_workers(self):
defunct = False
for idx,x in enumerate(self._workers):
if hasattr(x[0], 'exitcode'):
if x[0].exitcode in [-9, -15]:
if x[0].exitcode in [-9, -11, -15]:
defunct = True
return defunct

Expand Down

0 comments on commit 569377e

Please sign in to comment.