Commit 9c449c79 authored by Daniele Venzano's avatar Daniele Venzano

Open enpoint links in new windows and prevent a race condition when a new...

Open enpoint links in new windows and prevent a race condition when a new execution is added to the scheduler queue
parent 67c88510
......@@ -43,7 +43,7 @@
{% if endpoints|length > 0 %}
<ul>
{% for endp in endpoints|sort %}
<li><a href="{{ endp[1] }}">{{ endp[0] }}</a></li>
<li><a href="{{ endp[1] }}" target="_blank">{{ endp[0] }}</a></li>
{% endfor %}
</ul>
{% else %}
......
......@@ -68,9 +68,9 @@ class ZoeElasticScheduler:
:param execution: The execution
:return:
"""
self.queue.append(execution)
exec_data = ExecutionProgress(0, [])
self.additional_exec_state[execution.id] = exec_data
self.queue.append(execution)
self.trigger()
def terminate(self, execution: Execution) -> None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment