mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 19:43:11 +00:00
fix idle property names
This commit is contained in:
1 parent
bdf7dda3b4
commit
e7bccb2f47
1 file changed
+2
-2
@@ -56,7 +56,7 @@ public class SessionIdleTimer implements SimpleTimer.TimedEvent {
|
||||
} catch (NumberFormatException nfe) {}
|
||||
}
|
||||
_reduceTime = DEFAULT_REDUCE_TIME;
|
||||
p = props.getProperty("i2cp.reduceTime");
|
||||
p = props.getProperty("i2cp.reduceIdleTime");
|
||||
if (p != null) {
|
||||
try {
|
||||
_reduceTime = Math.max(Long.parseLong(p), MINIMUM_TIME);
|
||||
@@ -66,7 +66,7 @@ public class SessionIdleTimer implements SimpleTimer.TimedEvent {
|
||||
}
|
||||
if (shutdown) {
|
||||
_shutdownTime = DEFAULT_CLOSE_TIME;
|
||||
String p = props.getProperty("i2cp.closeTime");
|
||||
String p = props.getProperty("i2cp.closeIdleTime");
|
||||
if (p != null) {
|
||||
try {
|
||||
_shutdownTime = Math.max(Long.parseLong(p), MINIMUM_TIME);
|
||||
|
||||
Reference in new issue
Block a user