Changeset 6789df5


Ignore:
Timestamp:
Feb 23, 2011 3:58:46 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7bf8b46
Parents:
f0eb74ee
Message:

lower the max limit

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • history.txt

    rf0eb74ee r6789df5  
     12011-02-23 zzz
     2    * BuildHandler: Lower participating throttler max limit
     3
    142011-02-22 zzz
    25    * BuildHandler: Prelmiinary participating tunnel throttler
  • router/java/src/net/i2p/router/RouterVersion.java

    rf0eb74ee r6789df5  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 17;
     21    public final static long BUILD = 18;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/tunnel/pool/ParticpatingThrottler.java

    rf0eb74ee r6789df5  
    2020 * any given pair of routers, which probably isn't a bad thing.
    2121 *
     22 * Note that the actual limits will be higher than specified
     23 * by up to 1 / LIFETIME_PORTION because the counter window resets.
     24 *
    2225 * Note that the counts are of previous + next hops, so the total will
    2326 * be higher than the participating tunnel count, and will also grow
     
    3336    private static final int LIFETIME_PORTION = 3;
    3437    private static final int MIN_LIMIT = 18 / LIFETIME_PORTION;
    35     private static final int MAX_LIMIT = 81 / LIFETIME_PORTION;
     38    private static final int MAX_LIMIT = 66 / LIFETIME_PORTION;
    3639    private static final int PERCENT_LIMIT = 12 / LIFETIME_PORTION;
    37     private static final long CLEAN_TIME = 10*60*1000 / LIFETIME_PORTION;
     40    private static final long CLEAN_TIME = 11*60*1000 / LIFETIME_PORTION;
    3841
    3942    ParticipatingThrottler(RouterContext ctx) {
Note: See TracChangeset for help on using the changeset viewer.