cpoerschke commented on code in PR #1725: URL: https://github.com/apache/solr/pull/1725#discussion_r1304325866
########## solr/solr-ref-guide/modules/deployment-guide/pages/circuit-breakers.adoc: ########## @@ -52,54 +36,41 @@ For using specific circuit breakers, each one needs to be individually enabled i This circuit breaker tracks JVM heap memory usage and rejects incoming search requests with a 503 error code if the heap usage exceeds a configured percentage of maximum heap allocated to the JVM (-Xmx). The main configuration for this circuit breaker is controlling the threshold percentage at which the breaker will trip. -Configuration for JVM heap usage based circuit breaker: +To enable and configure the JVM heap usage based circuit breaker, add the following: [source,xml] ---- -<str name="memEnabled">true</str> +<circuitBreaker class="org.apache.solr.util.circuitbreaker.MemoryCircuitBreaker"> + <int name="threshold">75</int> Review Comment: ```suggestion <double name="threshold">75</double> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org