Changeset de71286


Ignore:
Timestamp:
Oct 6, 2011 4:08:14 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e193d89
Parents:
0f094da
Message:
  • Throttle: Increase max message delay
File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/RouterThrottleImpl.java

    r0f094da rde71286  
    3535    private static final String PROP_DEFAULT_KBPS_THROTTLE = "router.defaultKBpsThrottle";
    3636    private static final String PROP_MAX_PROCESSINGTIME = "router.defaultProcessingTimeThrottle";
    37     private static final int DEFAULT_MAX_PROCESSINGTIME = 1250;
     37
     38    /**
     39     *  TO BE FIXED - SEE COMMENTS BELOW
     40     */
     41    private static final int DEFAULT_MAX_PROCESSINGTIME = 1750;
    3842
    3943    /** tunnel acceptance */
     
    102106        // reject here if lag too high???
    103107       
     108        // TODO
     109        // This stat is highly dependent on transport mix.
     110        // For NTCP, it is queueing delay only, ~25ms
     111        // For SSU it is queueing + ack time, ~1000 ms.
     112        // (SSU acks may be delayed so it is much more than just RTT... and the delay may
     113        // counterintuitively be more when there is low traffic)
     114        // Change the stat or pick a better stat.
    104115        RateStat rs = _context.statManager().getRate("transport.sendProcessingTime");
    105116        Rate r = rs.getRate(60*1000);
Note: See TracChangeset for help on using the changeset viewer.