Remove retries update in the extend processing call and make sure it is under a transaction

This commit is contained in:
Joseph Schorr 2015-01-29 18:33:17 -05:00
parent a6fa08c19c
commit 838bfe23b1

View file

@ -121,7 +121,7 @@ class BuilderServer(object):
def _job_heartbeat(self, build_job):
WorkQueue.extend_processing(build_job.job_item, seconds_from_now=JOB_TIMEOUT_SECONDS,
retry_count=1, minimum_extension=MINIMUM_JOB_EXTENSION)
minimum_extension=MINIMUM_JOB_EXTENSION)
def _job_complete(self, build_job, job_status):
if job_status == BuildJobResult.INCOMPLETE: