forked from I2P_Developers/i2p.i2p
threshold tweaks for floodfill
This commit is contained in:
@@ -157,9 +157,9 @@ class FloodfillMonitorJob extends JobImpl {
|
|||||||
happy = happy && lagStat.getRate(60*60*1000L).getAvgOrLifetimeAvg() < 25;
|
happy = happy && lagStat.getRate(60*60*1000L).getAvgOrLifetimeAvg() < 25;
|
||||||
happy = happy && getContext().tunnelManager().getInboundBuildQueueSize() < 5;
|
happy = happy && getContext().tunnelManager().getInboundBuildQueueSize() < 5;
|
||||||
// Only if we're pretty well integrated...
|
// Only if we're pretty well integrated...
|
||||||
happy = happy && _facade.getKnownRouters() >= 200;
|
happy = happy && _facade.getKnownRouters() >= 400;
|
||||||
happy = happy && getContext().commSystem().countActivePeers() >= 50;
|
happy = happy && getContext().commSystem().countActivePeers() >= 50;
|
||||||
happy = happy && getContext().tunnelManager().getParticipatingCount() >= 35;
|
happy = happy && getContext().tunnelManager().getParticipatingCount() >= 25;
|
||||||
happy = happy && Math.abs(getContext().clock().getOffset()) < 10*1000;
|
happy = happy && Math.abs(getContext().clock().getOffset()) < 10*1000;
|
||||||
// We need an address and no introducers
|
// We need an address and no introducers
|
||||||
if (happy) {
|
if (happy) {
|
||||||
|
Reference in New Issue
Block a user