Skip to content

Commit

Permalink
Merge pull request #127 from benonymity/PingTimeout
Browse files Browse the repository at this point in the history
Increase server ping timeout
  • Loading branch information
advplyr authored Apr 20, 2022
2 parents f65f7b0 + 033f066 commit 441bc24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/connection/ServerConnectForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 441bc24

Please sign in to comment.