mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 19:51:00 +00:00
Merge branch 'tencentmusic:master' into master
This commit is contained in:
@@ -117,8 +117,12 @@ public class MetricRatioCalcProcessor implements ExecuteResultProcessor {
|
|||||||
|
|
||||||
CompletableFuture.allOf(metricInfoRoll, metricInfoOver).join();
|
CompletableFuture.allOf(metricInfoRoll, metricInfoOver).join();
|
||||||
|
|
||||||
metricInfo.setName(metricInfoRoll.get().getName());
|
if (metricInfoRoll.get().getName() != null) {
|
||||||
metricInfo.setValue(metricInfoRoll.get().getValue());
|
metricInfo.setName(metricInfoRoll.get().getName());
|
||||||
|
}
|
||||||
|
if (metricInfoOver.get().getValue() != null) {
|
||||||
|
metricInfo.setValue(metricInfoRoll.get().getValue());
|
||||||
|
}
|
||||||
metricInfo.getStatistics().putAll(metricInfoRoll.get().getStatistics());
|
metricInfo.getStatistics().putAll(metricInfoRoll.get().getStatistics());
|
||||||
metricInfo.getStatistics().putAll(metricInfoOver.get().getStatistics());
|
metricInfo.getStatistics().putAll(metricInfoOver.get().getStatistics());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user