fix: 修复score有时计算不准确的问题

This commit is contained in:
chenjinsong
2023-09-06 11:30:38 +08:00
parent 99dd82d25b
commit b83b51e792
7 changed files with 50 additions and 21 deletions

View File

@@ -0,0 +1,15 @@
export const zeroData = {
tcpLostlenPercent: 0,
pktRetransPercent: 0,
sslConLatency: null,
httpResponseLatency: 0,
establishLatencyMs: 0
}
export const undefinedData = {
tcpLostlenPercent: undefined,
pktRetransPercent: undefined,
sslConLatency: undefined,
httpResponseLatency: undefined,
establishLatencyMs: undefined
}