diff options
author | Devaev Maxim <[email protected]> | 2020-12-31 13:34:30 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-12-31 13:34:30 +0300 |
commit | 05983629316b70167ba49815a2b3aab87d94118a (patch) | |
tree | db8d1e42c45b474087e62a93cd9b4700f3129f19 /web | |
parent | 36fee4ebc493c2dd0827cff7c7ef4b495f6be4e7 (diff) |
increasing pings limit
Diffstat (limited to 'web')
-rw-r--r-- | web/share/js/kvm/session.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js index 2708a6fe..ef14af27 100644 --- a/web/share/js/kvm/session.js +++ b/web/share/js/kvm/session.js @@ -262,7 +262,7 @@ export function Session() { var __pingServer = function() { try { __missed_heartbeats += 1; - if (__missed_heartbeats >= 5) { + if (__missed_heartbeats >= 15) { throw new Error("Too many missed heartbeats"); } __ws.send(JSON.stringify({"event_type": "ping", "event": {}})); |