Reduce rate-limit on restarts to one a minute, 2 minutes is too long

This commit is contained in:
idk
2022-08-21 11:16:21 -04:00
parent 8ee2a1170e
commit ba0e2fb8c0

View File

@ -123,7 +123,7 @@ public class WinLauncher {
File ping = new File(home, "router.ping");
if (ping.exists()) {
long diff = System.currentTimeMillis() - ping.lastModified();
if (diff < 2 * 60 * 1000) {
if (diff < 60 * 1000) {
logger.info("router.ping exists and is less than 2 minutes old, I2P appears to be running already.");
return true;
}