atris commented on a change in pull request #1785:
URL: https://github.com/apache/lucene-solr/pull/1785#discussion_r478243445
##########
File path:
solr/core/src/java/org/apache/solr/util/circuitbreaker/CircuitBreakerManager.java
##########
@@ -121,19 +135,41 @@ public static String toErrorMessage(List<CircuitBreaker>
circuitBreakerList) {
*
* Any default circuit breakers should be registered here.
*/
- public static CircuitBreakerManager build(SolrConfig solrConfig) {
- CircuitBreakerManager circuitBreakerManager = new
CircuitBreakerManager(solrConfig.useCircuitBreakers);
-
- // Install the default circuit breakers
- CircuitBreaker memoryCircuitBreaker = new MemoryCircuitBreaker(solrConfig);
- CircuitBreaker cpuCircuitBreaker = new CPUCircuitBreaker(solrConfig);
+ @SuppressWarnings({"rawtypes"})
Review comment:
Unfortunately, that is the way NamedArgs are structured in PluginInfo --
we need to fix that before we remove this warning. I will follow up.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]