Commit 3eb56793 authored by Daniele Venzano's avatar Daniele Venzano
Browse files

Fix run time quota check

parent 6c84bdd4
......@@ -417,6 +417,6 @@ class APIEndpoint:
if runtime_limit == 0:
runtime_limit = timedelta(hours=runtime_limit)
if e.time_submit + runtime_limit > datetime.utcnow():
if e.time_submit + runtime_limit < datetime.utcnow():'Automatically terminating execution {} that has exceeded the run time limit'.format(
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