Sybil: Disable analysis when in test mode

This commit is contained in:
zzz
2023-02-15 11:28:20 -05:00
parent de978f3a10
commit 601a1c917e

View File

@@ -939,6 +939,7 @@ public class Router implements RouterClock.ClockShiftListener {
_context.commSystem().initGeoIP();
if (!SystemVersion.isSlow() &&
!_context.getBooleanProperty("i2np.allowLocal") &&
_context.getProperty(Analysis.PROP_FREQUENCY, Analysis.DEFAULT_FREQUENCY) > 0) {
// registers and starts itself
Analysis.getInstance(_context);