forked from I2P_Developers/i2p.i2p
- Add indication on summary bar when in VM comm system
This commit is contained in:
@ -101,6 +101,8 @@ public class SummaryHelper extends HelperBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private String reachability() {
|
private String reachability() {
|
||||||
|
if (_context.commSystem().isDummy())
|
||||||
|
return "VM Comm System";
|
||||||
if (_context.router().getUptime() > 60*1000 && (!_context.router().gracefulShutdownInProgress()) &&
|
if (_context.router().getUptime() > 60*1000 && (!_context.router().gracefulShutdownInProgress()) &&
|
||||||
!_context.clientManager().isAlive())
|
!_context.clientManager().isAlive())
|
||||||
return _("ERR-Client Manager I2CP Error - check logs"); // not a router problem but the user should know
|
return _("ERR-Client Manager I2CP Error - check logs"); // not a router problem but the user should know
|
||||||
@ -180,6 +182,7 @@ public class SummaryHelper extends HelperBase {
|
|||||||
return _context != null &&
|
return _context != null &&
|
||||||
_context.netDb().isInitialized() &&
|
_context.netDb().isInitialized() &&
|
||||||
_context.router().getUptime() > 2*60*1000 &&
|
_context.router().getUptime() > 2*60*1000 &&
|
||||||
|
(!_context.commSystem().isDummy()) &&
|
||||||
_context.commSystem().countActivePeers() <= 0 &&
|
_context.commSystem().countActivePeers() <= 0 &&
|
||||||
_context.netDb().getKnownRouters() > 5;
|
_context.netDb().getKnownRouters() > 5;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user