fix central europe ping (#5948)
This commit is contained in:
@@ -1249,8 +1249,12 @@ const PING_COUNT = 20
|
|||||||
const PING_INTERVAL = 200
|
const PING_INTERVAL = 200
|
||||||
const MAX_PING_TIME = 1000
|
const MAX_PING_TIME = 1000
|
||||||
|
|
||||||
function runPingTest(region, index = 1) {
|
const initialIndex = {
|
||||||
if (index > 10) {
|
'eu-lim': 31,
|
||||||
|
}
|
||||||
|
|
||||||
|
function runPingTest(region, index = initialIndex[region.shortcode] ?? 1) {
|
||||||
|
if (index > (initialIndex[region.shortcode] ?? 1) + 10) {
|
||||||
regionPings.value.push({
|
regionPings.value.push({
|
||||||
region: region.shortcode,
|
region: region.shortcode,
|
||||||
ping: -1,
|
ping: -1,
|
||||||
|
|||||||
Reference in New Issue
Block a user