From 033f06656844b25e3f1879d3aa9887886b1ea17a Mon Sep 17 00:00:00 2001 From: benonymity Date: Wed, 20 Apr 2022 17:52:16 -0400 Subject: [PATCH] Increase server ping timeout --- components/connection/ServerConnectForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/connection/ServerConnectForm.vue b/components/connection/ServerConnectForm.vue index c0840f86..48dba0d8 100644 --- a/components/connection/ServerConnectForm.vue +++ b/components/connection/ServerConnectForm.vue @@ -194,7 +194,7 @@ export default { }, pingServerAddress(address) { return this.$axios - .$get(`${address}/ping`, { timeout: 1000 }) + .$get(`${address}/ping`, { timeout: 3000 }) .then((data) => data.success) .catch((error) => { console.error('Server check failed', error)