Changeset e20310d
- Timestamp:
- Mar 6, 2017 8:38:38 PM (4 years ago)
- Branches:
- master
- Children:
- da00b955
- Parents:
- 5f96067
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
router/java/src/net/i2p/router/RouterThrottleImpl.java
r5f96067 re20310d 198 198 } 199 199 200 // Throttle tunnels if min. throttle level is exceeded and default max participating tunnels (or fewer) is used. 201 if ((numTunnels > getMinThrottleTunnels()) && (DEFAULT_MAX_TUNNELS <= maxTunnels)) { 200 /* 201 * Throttle if we go above a minimum level of tunnels AND the maximum participating 202 * tunnels is default or lower. 203 */ 204 if ((numTunnels > getMinThrottleTunnels()) && (DEFAULT_MAX_TUNNELS >= maxTunnels)) { 202 205 Rate avgTunnels = _context.statManager().getRate("tunnel.participatingTunnels").getRate(10*60*1000); 203 206 if (avgTunnels != null) {
Note: See TracChangeset
for help on using the changeset viewer.