diff --git a/src/main/java/cn/iocoder/dashboard/framework/tracer/core/util/TracerUtils.java b/src/main/java/cn/iocoder/dashboard/framework/tracer/core/util/TracerUtils.java index a623d66bf..a492149b4 100644 --- a/src/main/java/cn/iocoder/dashboard/framework/tracer/core/util/TracerUtils.java +++ b/src/main/java/cn/iocoder/dashboard/framework/tracer/core/util/TracerUtils.java @@ -18,7 +18,7 @@ public class TracerUtils { /** * 维护请求线程对应的TraceId */ - private static FastThreadLocal traceIdMap = new FastThreadLocal<>(); + private final static FastThreadLocal traceIdMap = new FastThreadLocal<>(); /** * 保存链路流水号