Increase ws keepalive interval to 30 seconds

This commit is contained in:
Paul Szymanski 2020-07-14 02:34:13 +02:00
parent 150fdc8bc1
commit 4b1417224b

View file

@ -117,7 +117,7 @@ class SnapdropServer {
_keepAlive(peer) {
this._cancelKeepAlive(peer);
var timeout = 10000;
var timeout = 30000;
if (!peer.lastBeat) {
peer.lastBeat = Date.now();
}