Changeset bd57463


Ignore:
Timestamp:
Sep 18, 2012 12:37:30 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
f232775
Parents:
2c4910e
Message:

fix NTCP backlogged indication

Location:
router/java/src/net/i2p/router/transport/ntcp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/transport/ntcp/NTCPConnection.java

    r2c4910e rbd57463  
    120120    private boolean _sendingMeta;
    121121    /** how many consecutive sends were failed due to (estimated) send queue time */
    122     private int _consecutiveBacklog;
     122    //private int _consecutiveBacklog;
    123123    private long _nextInfoTime;
    124124   
     
    254254    public long getTimeSinceCreated() { return System.currentTimeMillis()-_created; }
    255255
    256     public int getConsecutiveBacklog() { return _consecutiveBacklog; }
    257      
    258256    /**
    259257     *  workaround for EventPumper
     
    368366****/
    369367
     368    public boolean isBacklogged() { return _outbound.isBacklogged(); }
     369     
    370370    public boolean tooBacklogged() {
    371371        //long queueTime = queueTime();
  • router/java/src/net/i2p/router/transport/ntcp/NTCPTransport.java

    r2c4910e rbd57463  
    808808            buf.append("</td><td class=\"cells\" align=\"center\">").append(outQueue);
    809809            buf.append("</td><td class=\"cells\" align=\"center\">");
    810             if (con.getConsecutiveBacklog() > 0)
     810            if (con.isBacklogged())
    811811                buf.append("&#x2713;");
    812812            else
Note: See TracChangeset for help on using the changeset viewer.