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/ExceptionValidRate.kt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionValidRate.kt b/src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionValidRate.kt index 447574f..f18bf38 100644 --- a/src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionValidRate.kt +++ b/src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionValidRate.kt @@ -35,7 +35,7 @@ } override fun onDone() { - val rate = count / total + val rate = count.toDouble() / total if (rate < 0.9) { startData?.let { val eType = getExceptionType() -- Gitblit v1.9.3