mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 05:36:47 +00:00
Don't re-register metrics for shared circuit breakers.
This commit is contained in:
1 parent
0960e4caa4
commit
07d24f487a
1 file changed
-4
-4
@@ -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