mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
add segfault detection to TQM
* prevents indefinite hangs when a worker segfaults
This commit is contained in:
@@ -334,7 +334,7 @@ class TaskQueueManager:
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user