mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge branch 'release_20.09' into release_21.01
This commit is contained in:
@@ -107,10 +107,11 @@ def execute(trans, tool, mapping_params, history, rerun_remap_job_id=None, colle
|
||||
else:
|
||||
# Make sure collections, implicit jobs etc are flushed even if there are no precreated output datasets
|
||||
trans.sa_session.flush()
|
||||
tool_id = tool.id
|
||||
for job in execution_tracker.successful_jobs:
|
||||
# Put the job in the queue if tracking in memory
|
||||
tool.app.job_manager.enqueue(job, tool=tool, flush=False)
|
||||
trans.log_event("Added job to the job queue, id: %s" % str(job.id), tool_id=job.tool_id)
|
||||
trans.log_event("Added job to the job queue, id: %s" % str(job.id), tool_id=tool_id)
|
||||
trans.sa_session.flush()
|
||||
|
||||
if has_remaining_jobs:
|
||||
|
||||
@@ -425,7 +425,7 @@ class ConfiguresHandlers:
|
||||
log.debug("(%s) No handler pool (uWSGI farm) for '%s' found", obj.log_str(), tag)
|
||||
raise HandlerAssignmentSkip()
|
||||
else:
|
||||
if flush:
|
||||
if flush or not obj.id:
|
||||
_timed_flush_obj(obj)
|
||||
message = message_callback()
|
||||
self.app.application_stack.send_message(pool, message)
|
||||
|
||||
Reference in New Issue
Block a user