Sfoglia il codice sorgente

Increase ws keepalive interval to 30 seconds

Paul Szymanski 4 anni fa
parent
commit
4b1417224b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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();
         }