Skip to content

Commit a8569eb

Browse files
committed
调整最佳IP延迟显示,原始延迟值除以2
1 parent fdeab86 commit a8569eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

明文源码.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3343,7 +3343,7 @@ async function bestIP(request, env, txt = 'ADD.txt') {
33433343
current.latency < best.latency ? current : best
33443344
);
33453345
3346-
const displayLatency = Math.floor(bestResult.latency);
3346+
const displayLatency = Math.floor(bestResult.latency / 2);
33473347
33483348
console.log(\`IP \${parsedIP.host}:\${parsedIP.port} 最终结果: \${displayLatency}ms (原始: \${bestResult.latency}ms, 共\${results.length}次有效测试)\`);
33493349

0 commit comments

Comments
 (0)