Merge pull request #127 from benonymity/PingTimeout

Increase server ping timeout
This commit is contained in:
advplyr
2022-04-20 17:17:14 -05:00
committed by GitHub
+1 -1
View File
@@ -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)