提交 fd9ed6e5 编写于 作者: K kohsuke

Hudson kept relaunching the slave under the "on-demand" retention strategy.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17478 71c3de6d-444a-0410-be80-ed276b4c234a
上级 49ecc5d7
......@@ -205,7 +205,7 @@ public abstract class RetentionStrategy<T extends Computer> implements Describab
logger.log(Level.INFO, "Launching computer {0} as it has been in demand for {1}",
new Object[]{c.getName(), Util.getTimeSpanString(demandMilliseconds)});
if (c.isLaunchSupported())
c.connect(true);
c.connect(false);
}
} else if (c.isIdle()) {
final long idleMilliseconds = System.currentTimeMillis() - c.getIdleStartMilliseconds();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册