Change message when refusing to start because we think I2P is already running
This commit is contained in:
@ -124,7 +124,8 @@ public class WinLauncher {
|
|||||||
if (ping.exists()) {
|
if (ping.exists()) {
|
||||||
long diff = System.currentTimeMillis() - ping.lastModified();
|
long diff = System.currentTimeMillis() - ping.lastModified();
|
||||||
if (diff < 60 * 1000) {
|
if (diff < 60 * 1000) {
|
||||||
logger.info("router.ping exists and is less than 2 minutes old, I2P appears to be running already.");
|
logger.info("router.ping exists and is less than 1 minute old, I2P appears to be running already.");
|
||||||
|
logger.info("If I2P is not running, wait 60 seconds and try again.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user