Hello@robinshen ,
We are checking issue related to disconnection of build agent during build and foud that
In com.pmease.quickbuild.grid.GridJob class, I found getDisconnectToleration() function that always only return 0.
protected int getDisconnectToleration() {
return 0;
}
in run()
if (getDisconnectToleration() == 0 || now.getTime() - getLastDisconnectDate().getTime() > getDisconnectToleration()*1000L) {
logger.error("Error connecting task node '" + taskNode.getAddress() + "', will cancel running job...", e);
cancel();
}
Could you please help to explain the purpose of this getDisconnectToleration() function?
Thank you for your time.