change the default interval for gc checks to 1 second

This commit is contained in:
kimchy 2011-01-05 20:40:02 +02:00
parent 31231531e1
commit 0954df0623
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public class JvmMonitorService extends AbstractLifecycleComponent<JvmMonitorServ
this.dumpMonitorService = dumpMonitorService;
this.enabled = componentSettings.getAsBoolean("enabled", true);
this.interval = componentSettings.getAsTime("interval", timeValueSeconds(10));
this.interval = componentSettings.getAsTime("interval", timeValueSeconds(1));
this.gcThreshold = componentSettings.getAsTime("gc_threshold", timeValueMillis(5000));
}