Changeset 99681e1


Ignore:
Timestamp:
Aug 26, 2012 12:47:31 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
9ba6c29
Parents:
96775ac
Message:
  • NetDB: Increase floodfills, decrease flood redundancy
Location:
router/java/src/net/i2p/router/networkdb/kademlia
Files:
2 edited

Legend:

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

    r96775ac r99681e1  
    2626    private static final long MIN_UPTIME = 2*60*60*1000;
    2727    private static final long MIN_CHANGE_DELAY = 6*60*60*1000;
    28     private static final int MIN_FF = 250;
     28    private static final int MIN_FF = 300;
    2929    private static final int MAX_FF = 999999;
    3030    private static final String PROP_FLOODFILL_PARTICIPANT = "router.floodfillParticipant";
  • router/java/src/net/i2p/router/networkdb/kademlia/FloodfillNetworkDatabaseFacade.java

    r96775ac r99681e1  
    3434    private FloodThrottler _floodThrottler;
    3535    private LookupThrottler _lookupThrottler;
     36
     37    /**
     38     *  This is the flood redundancy. Entries are
     39     *  sent to this many other floodfills.
     40     *  Was 7 through release 0.9; 5 for 0.9.1.
     41     */
     42    private static final int MAX_TO_FLOOD = 4;
    3643   
    3744    public FloodfillNetworkDatabaseFacade(RouterContext context) {
     
    156163        return _lookupThrottler.shouldThrottle(from, id);
    157164    }
    158 
    159     private static final int MAX_TO_FLOOD = 5;
    160165
    161166    /**
Note: See TracChangeset for help on using the changeset viewer.