Преглед на файлове

Improve singleton logic in SendMetricCommandHandler (#1294)

master
mantuliu GitHub преди 4 години
родител
ревизия
f3b1b126c8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 Целия файл

@@ -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();



Loading…
Отказ
Запис