Skip to content

Commit

Permalink
recover task on mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
michelwi committed Jul 25, 2023
1 parent d31abad commit 9a1537e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sisyphus/localengine.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ def try_to_recover_task(self, task, task_id):

if call_with_id[1:] != process.cmdline()[1:]:
logging.debug('Job changed, ignore this job: %i %s %s' % (pid, process.cmdline(), task_instance.call))
return False

with self.running_tasks as running_tasks:
name = (task_instance.name, task_id)
Expand Down

0 comments on commit 9a1537e

Please sign in to comment.