Changeset 9b2e18a


Ignore:
Timestamp:
Aug 10, 2009 7:11:21 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
631a367b
Parents:
c52ccf7
Message:
  • NetDb? stats: Hide part. tunnel total events, effective next release
File:
1 edited

Legend:

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

    rc52ccf7 r9b2e18a  
    122122            //includeRate("jobQueue.jobRunSlow", stats, new long[] { 10*60*1000l, 60*60*1000l });
    123123            //includeRate("crypto.elGamal.encrypt", stats, new long[] { 60*60*1000 });
    124             includeRate("tunnel.participatingTunnels", stats, new long[] { 60*60*1000 });
     124            // total event count can be used to track uptime
     125            boolean hideTotals = ! RouterVersion.VERSION.equals("0.7.6");
     126            includeRate("tunnel.participatingTunnels", stats, new long[] { 60*60*1000 }, hideTotals);
    125127            //includeRate("tunnel.testSuccessTime", stats, new long[] { 10*60*1000l });
    126128            //includeRate("client.sendAckTime", stats, new long[] { 60*60*1000 }, true);
Note: See TracChangeset for help on using the changeset viewer.