Skip to content
Snippets Groups Projects
Commit c8a456ad authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[backend] Announce when starting to process a given split; Reset status in case of an IO error

parent 4f44c644
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -1194,6 +1194,7 @@ class JobSplit(models.Model):
if self_.start_date is not None: return
self.cache_errors += 1
self.status = Job.QUEUED
self.save()
break
......@@ -1409,6 +1410,9 @@ class JobSplit(models.Model):
'''
logger.info("Starting to process split `%s' (pid=%d)...", self,
os.getpid())
config = simplejson.loads(self.job.block.command)
# setup range if necessary
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment