diff options
-rw-r--r-- | lib/bb/runqueue.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 31de3ed1c..18049436f 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -207,6 +207,8 @@ class RunQueueScheduler(object): def newbuildable(self, task): self.buildable.add(task) + # Once tasks are running we don't need to worry about them again + self.buildable.difference_update(self.rq.runq_running) def removebuildable(self, task): self.buildable.remove(task) |