mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 20:07:37 -02:30
Remove timeout fields from sys job & adhoc cmd.
This commit is contained in:
@@ -597,9 +597,6 @@ class BaseTask(Task):
|
||||
else:
|
||||
os.kill(job.pid, signal.SIGTERM)
|
||||
time.sleep(3)
|
||||
if is_cancel:
|
||||
return True
|
||||
self.timed_out = True
|
||||
except OSError:
|
||||
keyword = 'cancel' if is_cancel else 'timeout'
|
||||
logger.warn("Attempted to %s already finished job, ignoring" % keyword)
|
||||
|
||||
Reference in New Issue
Block a user