Commit ad3b0331 authored by Daniele Venzano's avatar Daniele Venzano

Fix setting size

parent 8f6db210
......@@ -159,6 +159,7 @@ class ZoeElasticScheduler:
continue
elif execution.size < 0:
execution.set_size(0)
continue
new_size = execution.size - (time.time() - exec_data.last_time_scheduled) * (32 * 1024 ** 2) # to be tuned
execution.set_size(new_size)
......
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