mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 19:37:38 -02:30
Update websockets for pending approvals, change timeout expiration to
This commit is contained in:
@@ -527,7 +527,7 @@ class TaskManager():
|
||||
if task.timeout == 0:
|
||||
continue
|
||||
if (now - task.created) >= approval_timeout_seconds:
|
||||
logger.info("The approval node {} ({}) has expired after {} seconds.".format(task.name, task.pk, task.timeout))
|
||||
logger.warn("The approval node {} ({}) has expired after {} seconds.".format(task.name, task.pk, task.timeout))
|
||||
task.timed_out = True
|
||||
task.status = 'failed'
|
||||
task.job_explanation = _("This approval node has timed out.")
|
||||
|
||||
Reference in New Issue
Block a user