mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 09:47:58 +01:00
Don't re-register metrics for shared circuit breakers.
This commit is contained in:
committed by
Jon Chambers
parent
0960e4caa4
commit
07d24f487a
@@ -32,10 +32,6 @@ public class FaultTolerantPubSubConnection<K, V> {
|
||||
this.circuitBreaker = circuitBreaker;
|
||||
this.retry = retry;
|
||||
|
||||
CircuitBreakerUtil.registerMetrics(SharedMetricRegistries.getOrCreate(Constants.METRICS_NAME),
|
||||
this.circuitBreaker,
|
||||
FaultTolerantRedisCluster.class);
|
||||
|
||||
this.pubSubConnection.setNodeMessagePropagation(true);
|
||||
|
||||
final MetricRegistry metricRegistry = SharedMetricRegistries.getOrCreate(Constants.METRICS_NAME);
|
||||
|
||||
Reference in New Issue
Block a user