From ed48f70dfbf19481fa22ac88e00142be76095bd2 Mon Sep 17 00:00:00 2001 From: Naarcha-AWS Date: Thu, 26 May 2022 13:40:33 -0500 Subject: [PATCH] Add editorial review Signed-off-by: Naarcha-AWS --- _clients/javascript.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_clients/javascript.md b/_clients/javascript.md index 36a0f038..4b10bb26 100644 --- a/_clients/javascript.md +++ b/_clients/javascript.md @@ -146,8 +146,8 @@ The `memoryCircuitBreaker` parameter in the [Cluster Settings API]({{site.url}}{ `memoryCircuitBreaker` contains two fields: -- `enabled`: A boolean used to turn the circuit breaker on or off. Defaults to `false`. -- `maxPercentage`: The threshold that determines whether the Circuit Break engages. The input range must be between `[0 ,1]`. Any number that exceeds that range will correct to `1.0`. +- `enabled`: A Boolean used to turn the Circuit Breaker on or off. Defaults to `false`. +- `maxPercentage`: The threshold that determines whether the Circuit Breaker engages. The input range must be between `[0 ,1]`. Any number that exceeds that range will correct to `1.0`. The following example turns on the Circuit Breaker and sets the maximum percentage of a query response to 80% of the cluster's storage. You can customize this example for use in the `POST _cluster/settings` request body.