瀏覽代碼

Improve singleton logic in SendMetricCommandHandler (#1294)

master
mantuliu GitHub 4 年之前
父節點
當前提交
f3b1b126c8
沒有發現已知的金鑰在資料庫的簽署中 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…
取消
儲存