diff --git a/router/java/src/net/i2p/router/startup/VerifyWrapperConfig.java b/router/java/src/net/i2p/router/startup/VerifyWrapperConfig.java index eef7d31fd1e44b416a84807f90b9540f6d6c9ef5..5af7c2fc45506d5eb7e7789496480c45d46329ff 100644 --- a/router/java/src/net/i2p/router/startup/VerifyWrapperConfig.java +++ b/router/java/src/net/i2p/router/startup/VerifyWrapperConfig.java @@ -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) {