Increase ws keepalive interval to 30 seconds
This commit is contained in:
parent
150fdc8bc1
commit
4b1417224b
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class SnapdropServer {
|
|||
|
||||
_keepAlive(peer) {
|
||||
this._cancelKeepAlive(peer);
|
||||
var timeout = 10000;
|
||||
var timeout = 30000;
|
||||
if (!peer.lastBeat) {
|
||||
peer.lastBeat = Date.now();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue