Changeset 5c81c00 for router


Ignore:
Timestamp:
Apr 18, 2019 1:53:27 PM (15 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
3248a15
Parents:
ea7ddaf
Message:

Utils: CoDel? minor speedup (ticket #2398)

Location:
router/java/src/net/i2p/router/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/util/CoDelBlockingQueue.java

    rea7ddaf r5c81c00  
    249249                    // sojurn time below target - leave dropping state
    250250                    _dropping = false;
    251                 } else if (_now >= _drop_next) {
     251                } else {
    252252                    // It's time for the next drop. Drop the current packet and dequeue the next.
    253253                    // The dequeue might take us out of dropping state. If not, schedule the next drop.
  • router/java/src/net/i2p/router/util/CoDelPriorityBlockingQueue.java

    rea7ddaf r5c81c00  
    231231                    // sojurn time below target - leave dropping state
    232232                    _dropping = false;
    233                 } else if (_now >= _drop_next) {
     233                } else {
    234234                    // It's time for the next drop. Drop the current packet and dequeue the next.
    235235                    // The dequeue might take us out of dropping state. If not, schedule the next drop.
Note: See TracChangeset for help on using the changeset viewer.