cpoerschke commented on code in PR #96:
URL: https://github.com/apache/solr/pull/96#discussion_r1310541536
##########
solr/core/src/java/org/apache/solr/util/circuitbreaker/CircuitBreakerManager.java:
##########
@@ -86,7 +86,8 @@ public void init(NamedList<?> args) {
memCB.setThreshold(memThreshold);
}
if (cpuEnabled) {
- cpuCB = new CPUCircuitBreaker();
+ // In SOLR-15056 CPUCircuitBreaker was renamed to
LoadAverageCircuitBreaker, need back-compat
+ cpuCB = new LoadAverageCircuitBreaker();
Review Comment:
minor: `s/CPU CircuitBreaker/LoadAverageCircuitBreaker` for class level
javadocs
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]