Changeset 74ab1bf


Ignore:
Timestamp:
Mar 15, 2015 11:37:03 AM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
4c6aaa32
Parents:
b5bba5e
Message:

threshold tweaks for floodfill

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/networkdb/kademlia/FloodfillMonitorJob.java

    rb5bba5e r74ab1bf  
    5050        _facade.setFloodfillEnabled(ff);
    5151        if (ff != wasFF) {
    52                         if(ff) {
    53                                 getContext().router().eventLog().addEvent(EventLog.BECAME_FLOODFILL);
    54                         } else {
    55                                 getContext().router().eventLog().addEvent(EventLog.NOT_FLOODFILL);
    56                         }
     52            if (ff) {
     53                getContext().router().eventLog().addEvent(EventLog.BECAME_FLOODFILL);
     54            } else {
     55                getContext().router().eventLog().addEvent(EventLog.NOT_FLOODFILL);
     56            }
    5757            getContext().router().rebuildRouterInfo();
    5858        }
     
    158158        happy = happy && getContext().tunnelManager().getInboundBuildQueueSize() < 5;
    159159        // Only if we're pretty well integrated...
    160         happy = happy && _facade.getKnownRouters() >= 200;
     160        happy = happy && _facade.getKnownRouters() >= 400;
    161161        happy = happy && getContext().commSystem().countActivePeers() >= 50;
    162         happy = happy && getContext().tunnelManager().getParticipatingCount() >= 35;
     162        happy = happy && getContext().tunnelManager().getParticipatingCount() >= 25;
    163163        happy = happy && Math.abs(getContext().clock().getOffset()) < 10*1000;
    164164        // We need an address and no introducers
Note: See TracChangeset for help on using the changeset viewer.