Changeset ed8fd0b


Ignore:
Timestamp:
Jun 6, 2009 5:42:33 PM (11 years ago)
Author:
mathiasdm <mathiasdm@…>
Branches:
master
Children:
9b0e553
Parents:
eee1605
Message:

Fixed bug causing congestion-avoidance code to not get executed.

File:
1 edited

Legend:

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

    reee1605 red8fd0b  
    102102       
    103103        RateStat rs = _context.statManager().getRate("transport.sendProcessingTime");
    104         Rate r = null;
     104        Rate r = rs.getRate(60*1000);
    105105
    106106        //Reject tunnels if the time to process messages and send them is too large. Too much time implies congestion.
Note: See TracChangeset for help on using the changeset viewer.