提交 3d783957 编写于 作者: K kohsuke

if a slave is being connected, don't attempt the reconnect, which would...

if a slave is being connected, don't attempt the reconnect, which would interrupt the current pending activity

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16193 71c3de6d-444a-0410-be80-ed276b4c234a
上级 8872b8cf
......@@ -144,7 +144,7 @@ public abstract class RetentionStrategy<T extends Computer> implements Describab
}
public long check(SlaveComputer c) {
if (c.isOffline() && c.isLaunchSupported())
if (c.isOffline() && !c.isConnecting() && c.isLaunchSupported())
c.tryReconnect();
return 1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册