mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 05:17:36 -02:30
reap waiting processes if crash
This commit is contained in:
@@ -755,7 +755,7 @@ class BaseTask(LogErrorsTask):
|
||||
'''
|
||||
Run the job/task and capture its output.
|
||||
'''
|
||||
instance = self.update_model(pk, status='running', celery_task_id='' if self.request.id is None else self.request.id)
|
||||
instance = self.update_model(pk, status='running')
|
||||
|
||||
instance.websocket_emit_status("running")
|
||||
status, rc, tb = 'error', None, ''
|
||||
|
||||
Reference in New Issue
Block a user