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
commit 441bc24e2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)