snapdrop

A Progressive Web App for local file sharing
git clone http://git.hanabi.in/repos/snapdrop.git
Log | Files | Refs | README | LICENSE

commit 4b1417224bb32ed05bb5f176b92ea90b9d345e1e
parent 150fdc8bc1d8d3672914ce2f27b60d37694bf535
Author: Paul Szymanski <519954+PaulSzymanski@users.noreply.github.com>
Date:   Tue, 14 Jul 2020 02:34:13 +0200

Increase ws keepalive interval to 30 seconds

Diffstat:
Mserver/index.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/index.js b/server/index.js @@ -117,7 +117,7 @@ class SnapdropServer { _keepAlive(peer) { this._cancelKeepAlive(peer); - var timeout = 10000; + var timeout = 30000; if (!peer.lastBeat) { peer.lastBeat = Date.now(); }