Changeset 7ee7cbf


Ignore:
Timestamp:
Dec 26, 2010 12:35:54 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
3497337
Parents:
66f3484
Message:
  • Stats: Change stat.full default.to false (saves ~ 1MB)
Files:
2 edited

Legend:

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

    r66f3484 r7ee7cbf  
    140140    public String getExplicitFilter() { return _filter; }
    141141    public boolean getIsFull() {
    142         return _context.getBooleanPropertyDefaultTrue(StatManager.PROP_STAT_FULL);
     142        return _context.getBooleanProperty(StatManager.PROP_STAT_FULL);
    143143    }
    144144}
  • core/java/src/net/i2p/stat/StatManager.java

    r66f3484 r7ee7cbf  
    207207     */
    208208    public boolean ignoreStat(String statName) {
    209         if (_context.getBooleanPropertyDefaultTrue(PROP_STAT_FULL))
     209        if (_context.getBooleanProperty(PROP_STAT_FULL))
    210210            return false;
    211211        String required = _context.getProperty(PROP_STAT_REQUIRED, DEFAULT_STAT_REQUIRED);
Note: See TracChangeset for help on using the changeset viewer.