Changeset 3380ecf


Ignore:
Timestamp:
Jul 13, 2011 2:19:34 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
6886346
Parents:
4889656
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java

    r4889656 r3380ecf  
    518518            return "0 ms";
    519519       
    520         Rate lagRate = _context.statManager().getRate("jobQueue.jobLag").getRate(60*1000);
     520        RateStat rs = _context.statManager().getRate("jobQueue.jobLag");
     521        if (rs == null)
     522            return "0 ms";
     523        Rate lagRate = rs.getRate(60*1000);
    521524        return DataHelper.formatDuration2((long)lagRate.getAverageValue());
    522525    }
Note: See TracChangeset for help on using the changeset viewer.