WIP: Solve rebase fallout
diff --git a/buildstream/_scheduler/scheduler.py b/buildstream/_scheduler/scheduler.py
index ee226cf..31619e9 100644
--- a/buildstream/_scheduler/scheduler.py
+++ b/buildstream/_scheduler/scheduler.py
@@ -312,13 +312,6 @@
self.schedule_jobs(ready)
self._sched()
-
-
- self.schedule_jobs([job])
-
-
- self.schedule_jobs([job])
-
def _run_cleanup(self, cache_size):
if cache_size and cache_size < self.context.cache_quota:
return
@@ -329,6 +322,7 @@
ResourceType.PROCESS],
exclusive_resources=[ResourceType.CACHE],
complete_cb=None)
+ self.schedule_jobs([job])
def _check_cache_size_real(self):
logpath = os.path.join(self.context.logdir, 'cache_size.{pid}.log')
@@ -337,6 +331,7 @@
ResourceType.PROCESS],
exclusive_resources=[ResourceType.CACHE],
complete_cb=self._run_cleanup)
+ self.schedule_jobs([job])
# _suspend_jobs()
#