I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Verified Commit ec89a80e authored by zzz's avatar zzz
Browse files

Router: Disable reseeding and NTP in vmCommSystem

parent 41c7b738
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment