Przeglądaj źródła

Increase ws keepalive interval to 30 seconds

Paul Szymanski 4 lat temu
rodzic
commit
4b1417224b
1 zmienionych plików z 1 dodań i 1 usunięć
  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();
         }