Explorar o código

Increase ws keepalive interval to 30 seconds

Paul Szymanski %!s(int64=4) %!d(string=hai) anos
pai
achega
4b1417224b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      server/index.js

+ 1 - 1
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();
         }