Ver código fonte

Improve singleton logic in SendMetricCommandHandler (#1294)

master
mantuliu GitHub 4 anos atrás
pai
commit
f3b1b126c8
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      sentinel-transport/sentinel-transport-common/src/main/java/com/alibaba/csp/sentinel/command/handler/SendMetricCommandHandler.java

+ 1
- 1
sentinel-transport/sentinel-transport-common/src/main/java/com/alibaba/csp/sentinel/command/handler/SendMetricCommandHandler.java Ver arquivo

@@ -42,7 +42,7 @@ import com.alibaba.csp.sentinel.util.TimeUtil;
+ "startTime={startTime}&endTime={endTime}&maxLines={maxLines}&identify={resourceName}")
public class SendMetricCommandHandler implements CommandHandler<String> {

private MetricSearcher searcher;
private volatile MetricSearcher searcher;

private final Object lock = new Object();



Carregando…
Cancelar
Salvar