提交 394e9d6c 编写于 作者: V Vincent Latombe

[FIX JENKINS-12994] Quiet period is blocking other jobs in queue

Queue#maintain() was returning too soon
上级 c5c5ff41
......@@ -910,12 +910,12 @@ public class Queue extends ResourceController implements Saveable {
}
}
// waitingList -> buldable/blocked
// waitingList -> buildable/blocked
while (!waitingList.isEmpty()) {
WaitingItem top = peek();
if (!top.timestamp.before(new GregorianCalendar()))
return; // finished moving all ready items from queue
break; // finished moving all ready items from queue
waitingList.remove(top);
Task p = top.task;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册