Skip to content

Commit ee75066

Browse files
committed
change the default interval for gc checks to 1 second
1 parent 688f812 commit ee75066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/elasticsearch/src/main/java/org/elasticsearch/monitor/jvm/JvmMonitorService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public class JvmMonitorService extends AbstractLifecycleComponent<JvmMonitorServ
6262
this.dumpMonitorService = dumpMonitorService;
6363

6464
this.enabled = componentSettings.getAsBoolean("enabled", true);
65-
this.interval = componentSettings.getAsTime("interval", timeValueSeconds(10));
65+
this.interval = componentSettings.getAsTime("interval", timeValueSeconds(1));
6666
this.gcThreshold = componentSettings.getAsTime("gc_threshold", timeValueMillis(5000));
6767
}
6868

0 commit comments

Comments
 (0)