1 parent a3f34c2 commit f036132Copy full SHA for f036132
common/src/main/java/com/usthe/common/entity/job/Job.java
@@ -167,7 +167,7 @@ public synchronized void constructPriorMetrics() {
167
// 构造指标组任务执行顺序链表
168
priorMetrics = new LinkedList<>();
169
map.values().forEach(metric -> {
170
- Set<Metrics> metricsSet = new HashSet<>(metric);
+ Set<Metrics> metricsSet = Collections.synchronizedSet(new HashSet<>(metric));
171
priorMetrics.add(metricsSet);
172
});
173
priorMetrics.sort(Comparator.comparing(e -> {
0 commit comments