Changeset e225244


Ignore:
Timestamp:
Jul 20, 2009 12:00:49 AM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
a9e8fc2
Parents:
cbde15b
Message:
  • BuildHandler?: Increase threshold for dropping instead of rejecting to 81% (was 75%)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/tunnel/pool/BuildHandler.java

    rcbde15b re225244  
    580580        // If we rejected the request, are near our conn limits, and aren't connected to the next hop,
    581581        // just drop it.
     582        // 81% = between 75% control measures in Transports and 87% rejection above
    582583        if (response != 0 &&
    583584            (! _context.routerHash().equals(nextPeer)) &&
    584             (! _context.commSystem().haveOutboundCapacity(75)) &&
     585            (! _context.commSystem().haveOutboundCapacity(81)) &&
    585586            (! _context.commSystem().isEstablished(nextPeer))) {
    586587            _context.statManager().addRateData("tunnel.dropConnLimits", 1, 0);
Note: See TracChangeset for help on using the changeset viewer.