Remove timeout fields from sys job & adhoc cmd.

This commit is contained in:
Aaron Tan
2016-09-24 11:06:01 -04:00
parent 96e3228c9d
commit 701c23171f
5 changed files with 3 additions and 29 deletions

View File

@@ -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)