提交 8a0e1612 编写于 作者: K kohsuke

[FIXED] relaxed the delay factor based on the feedback in HUDSON-2618. In 1.263.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13272 71c3de6d-444a-0410-be80-ed276b4c234a
上级 c494328e
......@@ -920,8 +920,8 @@ public class Queue extends ResourceController implements Saveable {
long d = task.getEstimatedDuration();
long elapsed = System.currentTimeMillis()-buildableStartMilliseconds;
if(d>=0) {
// if we were running elsewhere, we would have done this build twice.
return elapsed > d*2;
// if we were running elsewhere, we would have done this build ten times.
return elapsed > d*10;
} else {
// more than a day in the queue
return TimeUnit2.MILLISECONDS.toHours(elapsed)>24;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册