mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Merge pull request #7832 from pcm32/patch-3
Fix failure in resubmitting job more than once
This commit is contained in:
@@ -181,6 +181,8 @@ class ShellJobRunner(AsynchronousJobRunner):
|
||||
# Try to find out the reason for exiting
|
||||
self.__handle_out_of_memory(ajs, external_job_id)
|
||||
self.work_queue.put((self.mark_as_failed, ajs))
|
||||
# Don't add the job to the watched items once it fails, deals with https://github.com/galaxyproject/galaxy/issues/7820
|
||||
continue
|
||||
if state == model.Job.states.RUNNING and not ajs.running:
|
||||
ajs.running = True
|
||||
ajs.old_state = state
|
||||
|
||||
Reference in New Issue
Block a user