mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 10:41:05 -03:30
Force worker processes to have a different signal handler from the parent
Situations have come up where the 5+ minute kill signal for run_task_manager is emitted to the worker process running it, but since the worker improperly inherited the AWXConsumerBase().stop() handler a deadlock ultimately was triggered on the database connection.
This commit is contained in:
@@ -581,3 +581,4 @@ class TaskManager():
|
||||
logger.debug("Starting Scheduler")
|
||||
with task_manager_bulk_reschedule():
|
||||
self._schedule()
|
||||
logger.debug("Finishing Scheduler")
|
||||
|
||||
Reference in New Issue
Block a user