From 357c5a3c4659f1fe9e46e8c20827ab757c5d3929 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 14 十二月 2023 15:27:34 +0800 Subject: [PATCH] 增加数据请求配置表和异常分析配置表的接口 --- src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionValueMutation.kt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionValueMutation.kt b/src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionValueMutation.kt index 2501601..5af244c 100644 --- a/src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionValueMutation.kt +++ b/src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionValueMutation.kt @@ -30,8 +30,8 @@ } override fun judgeDuration(sIndex: Int, eIndex: Int): Boolean { - val b1 = special && (eIndex - sIndex) >= (config.mutationNum / 2) - val b2 = (eIndex - sIndex) >= config.mutationNum + val b1 = special && (eIndex - 1 - sIndex) >= (config.mutationNum / 2) + val b2 = (eIndex - 1 - sIndex) >= config.mutationNum special = false return b1 || b2 } -- Gitblit v1.9.3