Skip to content
Snippets Groups Projects
Commit 55eed693 authored by Daniele Venzano's avatar Daniele Venzano
Browse files

Fix elastic scheduler sorting bug

parent f16c6073
No related branches found
No related tags found
1 merge request!3Fix elastic scheduler sorting bug
Pipeline #
......@@ -152,7 +152,7 @@ class ZoeElasticScheduler:
self._refresh_execution_sizes()
if self.policy == "SIZE":
self.queue.sort()
self.queue.sort(key=lambda execution: execution.size)
log.debug('--> Queue dump after sorting')
for j in self.queue:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment