you mean i'm supposed to *test* it?

This commit is contained in:
jrandom
2004-11-29 03:35:39 +00:00
committed by zzz
parent 571e3c5c13
commit 153eea2bd5

View File

@ -18,7 +18,7 @@ public class VerifyWrapperConfig {
public static boolean verifyConfig() {
boolean cpUpdated = VerifyClasspath.updateClasspath();
boolean pingUpdated = updatePing();
return pingUpdated || cpUpdated;
return cpUpdated; // dont force the pingUpdated to cause a restart
}
private static boolean updatePing() {
@ -32,6 +32,7 @@ public class VerifyWrapperConfig {
FileWriter out = new FileWriter(configFile, true);
out.write(NL + "# Adding ping timeout as required by the update" + NL);
out.write("wrapper.ping.interval=600" + NL);
out.write("wrapper.ping.timeout=605" + NL);
out.close();
return true;
} catch (IOException ioe) {