Changeset 1a7e71c for router


Ignore:
Timestamp:
Apr 3, 2018 3:25:28 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
d11c01c
Parents:
4ca12d1
Message:

Stats: Enable per-tunnel bandwidth stats by default (tickets #2106, #2145)

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

Legend:

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

    r4ca12d1 r1a7e71c  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 22;
     21    public final static long BUILD = 23;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/tunnel/pool/TunnelPool.java

    r4ca12d1 r1a7e71c  
    103103                _context.clientManager().requestLeaseSet(_settings.getDestination(), ls);
    104104        }
    105         _context.statManager().createRateStat(_rateName,
     105        _context.statManager().createRequiredRateStat(_rateName,
    106106                               "Tunnel Bandwidth (Bytes/sec)", "Tunnels",
    107107                               new long[] { 5*60*1000l });
Note: See TracChangeset for help on using the changeset viewer.