SSU: Don't start peer test when shutting down

This commit is contained in:
zzz
2021-04-20 08:58:48 -04:00
parent 23b704960d
commit 1a05475f47

View File

@@ -159,6 +159,7 @@ class PeerTestEvent extends SimpleTimer2.TimedEvent {
private boolean shouldTest() {
return ! (_context.router().isHidden() ||
_context.router().gracefulShutdownInProgress() ||
(_transport.isIPv4Firewalled() && _transport.isIPv6Firewalled()));
//String val = _context.getProperty(PROP_SHOULD_TEST);
//return ( (val != null) && ("true".equals(val)) );