Skip to content

Commit 4434068

Browse files
committed
register stream default timeout setting
Signed-off-by: Rishabh Maurya <rishabhmaurya05@gmail.com>
1 parent 797fd68 commit 4434068

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server/src/main/java/org/opensearch/common/settings/ClusterSettings.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@
176176
import org.opensearch.transport.RemoteClusterService;
177177
import org.opensearch.transport.RemoteConnectionStrategy;
178178
import org.opensearch.transport.SniffConnectionStrategy;
179+
import org.opensearch.transport.StreamTransportService;
179180
import org.opensearch.transport.TransportSettings;
180181
import org.opensearch.transport.client.Client;
181182
import org.opensearch.watcher.ResourceWatcherService;
@@ -845,7 +846,8 @@ public void apply(Settings value, Settings current, Settings previous) {
845846
ForceMergeManagerSettings.CPU_THRESHOLD_PERCENTAGE_FOR_AUTO_FORCE_MERGE,
846847
ForceMergeManagerSettings.DISK_THRESHOLD_PERCENTAGE_FOR_AUTO_FORCE_MERGE,
847848
ForceMergeManagerSettings.JVM_THRESHOLD_PERCENTAGE_FOR_AUTO_FORCE_MERGE,
848-
ForceMergeManagerSettings.CONCURRENCY_MULTIPLIER
849+
ForceMergeManagerSettings.CONCURRENCY_MULTIPLIER,
850+
StreamTransportService.STREAM_TRANSPORT_REQ_TIMEOUT_SETTING
849851
)
850852
)
851853
);

0 commit comments

Comments
 (0)