fix central europe ping (#5948)

This commit is contained in:
Prospector
2026-04-29 12:12:08 -07:00
committed by GitHub
parent 5abcfe6c38
commit ea723f719c

View File

@@ -1249,8 +1249,12 @@ const PING_COUNT = 20
const PING_INTERVAL = 200
const MAX_PING_TIME = 1000
function runPingTest(region, index = 1) {
if (index > 10) {
const initialIndex = {
'eu-lim': 31,
}
function runPingTest(region, index = initialIndex[region.shortcode] ?? 1) {
if (index > (initialIndex[region.shortcode] ?? 1) + 10) {
regionPings.value.push({
region: region.shortcode,
ping: -1,