From 997de535d69fd728080e6c44ec9545c53ff849e4 Mon Sep 17 00:00:00 2001 From: Jack Mazanec Date: Mon, 13 Apr 2020 18:48:20 -0700 Subject: [PATCH] Modified Circuit Breaker threshold from 60%->50% (#92) --- .../opendistroforelasticsearch/knn/index/KNNSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/knn/index/KNNSettings.java b/src/main/java/com/amazon/opendistroforelasticsearch/knn/index/KNNSettings.java index 958239a6..464ce10c 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/knn/index/KNNSettings.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/knn/index/KNNSettings.java @@ -157,7 +157,7 @@ public class KNNSettings { */ put(KNN_MEMORY_CIRCUIT_BREAKER_ENABLED, Setting.boolSetting(KNN_MEMORY_CIRCUIT_BREAKER_ENABLED,true, NodeScope, Dynamic)); - put(KNN_MEMORY_CIRCUIT_BREAKER_LIMIT, knnMemoryCircuitBreakerSetting(KNN_MEMORY_CIRCUIT_BREAKER_LIMIT, "60%", + put(KNN_MEMORY_CIRCUIT_BREAKER_LIMIT, knnMemoryCircuitBreakerSetting(KNN_MEMORY_CIRCUIT_BREAKER_LIMIT, "50%", NodeScope, Dynamic)); /**