I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 7ee7cbf6 authored by zzz's avatar zzz
Browse files

* Stats: Change stat.full default.to false (saves ~ 1MB)

parent 66f34845
No related branches found
No related tags found
No related merge requests found
...@@ -139,6 +139,6 @@ public class ConfigStatsHelper extends HelperBase { ...@@ -139,6 +139,6 @@ public class ConfigStatsHelper extends HelperBase {
public boolean getCurrentCanBeGraphed() { return _currentCanBeGraphed; } public boolean getCurrentCanBeGraphed() { return _currentCanBeGraphed; }
public String getExplicitFilter() { return _filter; } public String getExplicitFilter() { return _filter; }
public boolean getIsFull() { public boolean getIsFull() {
return _context.getBooleanPropertyDefaultTrue(StatManager.PROP_STAT_FULL); return _context.getBooleanProperty(StatManager.PROP_STAT_FULL);
} }
} }
...@@ -206,7 +206,7 @@ public class StatManager { ...@@ -206,7 +206,7 @@ public class StatManager {
* @return true if the stat should be ignored. * @return true if the stat should be ignored.
*/ */
public boolean ignoreStat(String statName) { public boolean ignoreStat(String statName) {
if (_context.getBooleanPropertyDefaultTrue(PROP_STAT_FULL)) if (_context.getBooleanProperty(PROP_STAT_FULL))
return false; return false;
String required = _context.getProperty(PROP_STAT_REQUIRED, DEFAULT_STAT_REQUIRED); String required = _context.getProperty(PROP_STAT_REQUIRED, DEFAULT_STAT_REQUIRED);
String req[] = required.split(","); String req[] = required.split(",");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment