فهرست منبع

Change default value for data stream lifecycle poll interval to 5 mins (#97583)

Andrei Dan 2 سال پیش
والد
کامیت
22bc45a82f

+ 1 - 1
docs/reference/settings/data-stream-lifecycle-settings.asciidoc

@@ -15,7 +15,7 @@ These are the settings available for configuring <<data-stream-lifecycle, data s
 [[data-streams-lifecycle-poll-interval]]
 `data_streams.lifecycle.poll_interval`::
 (<<dynamic-cluster-setting,Dynamic>>, <<time-units, time unit value>>)
-How often {es} checks what is the next action for all data streams with a built-in lifecycle. Defaults to `10m`.
+How often {es} checks what is the next action for all data streams with a built-in lifecycle. Defaults to `5m`.
 
 [[cluster-lifecycle-default-rollover]]
 `cluster.lifecycle.default.rollover`::

+ 1 - 1
modules/data-streams/src/main/java/org/elasticsearch/datastreams/lifecycle/DataStreamLifecycleService.java

@@ -77,7 +77,7 @@ public class DataStreamLifecycleService implements ClusterStateListener, Closeab
     public static final String DATA_STREAM_LIFECYCLE_POLL_INTERVAL = "data_streams.lifecycle.poll_interval";
     public static final Setting<TimeValue> DATA_STREAM_LIFECYCLE_POLL_INTERVAL_SETTING = Setting.timeSetting(
         DATA_STREAM_LIFECYCLE_POLL_INTERVAL,
-        TimeValue.timeValueMinutes(10),
+        TimeValue.timeValueMinutes(5),
         TimeValue.timeValueSeconds(1),
         Setting.Property.Dynamic,
         Setting.Property.NodeScope