mirror of
https://github.com/hi2shark/nazhua.git
synced 2026-01-12 07:10:43 +08:00
🪄 尽量避免开启削峰影响成功率的波动
This commit is contained in:
parent
ec3b5cb5ea
commit
c8fddc4803
@ -334,8 +334,8 @@ const monitorChartData = computed(() => {
|
|||||||
dateMap[o] = null;
|
dateMap[o] = null;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// 削峰过滤:检测到异常值时直接跳过,不加入dateMap,避免影响成功率计算
|
||||||
if (Math.abs(avgDelay - mean) > threshold && max / min > 2) {
|
if (Math.abs(avgDelay - mean) > threshold && max / min > 2) {
|
||||||
dateMap[o] = null;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user