Changed default sampling interval to 10s.

Closes #112
This commit is contained in:
Boaz Leskes 2014-03-06 10:31:38 +01:00
parent ef6735c66a
commit 2b34fa22ae

View file

@ -94,7 +94,7 @@ public class AgentService extends AbstractLifecycleComponent<AgentService> {
this.indicesService = (InternalIndicesService) indicesService;
this.clusterService = clusterService;
this.nodeService = nodeService;
this.interval = componentSettings.getAsTime("interval", TimeValue.timeValueSeconds(5));
this.interval = componentSettings.getAsTime("interval", TimeValue.timeValueSeconds(10));
this.indicesToExport = componentSettings.getAsArray("indices", this.indicesToExport, true);
this.client = client;
this.clusterName = clusterName.value();