forked from I2P_Developers/i2p.i2p
Router: Disable reseeding and NTP in vmCommSystem
This commit is contained in:
@@ -66,7 +66,8 @@ public class ReseedChecker {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (_context.getBooleanProperty(Reseeder.PROP_DISABLE)) {
|
||||
if (_context.getBooleanProperty(Reseeder.PROP_DISABLE) ||
|
||||
_context.getBooleanProperty("i2p.vmCommSystem")) {
|
||||
int x = count - 1; // us
|
||||
// no ngettext, this is rare
|
||||
String s;
|
||||
|
||||
@@ -87,7 +87,8 @@ public class RouterTimestamper extends Timestamper {
|
||||
// This means we no longer check every 5 minutes to see if we got enabled,
|
||||
// so the property must be set at startup.
|
||||
// We still need to be instantiated since the router calls clock().getTimestamper().waitForInitialization()
|
||||
_disabled = ctx.getProperty(PROP_DISABLED, DEFAULT_DISABLED);
|
||||
_disabled = ctx.getProperty(PROP_DISABLED, DEFAULT_DISABLED) ||
|
||||
ctx.getBooleanProperty("i2p.vmCommSystem");
|
||||
if (_disabled) {
|
||||
_initialized = true;
|
||||
_zones = null;
|
||||
|
||||
Reference in New Issue
Block a user