소스 검색

Increase ws keepalive interval to 30 seconds

Paul Szymanski 4 년 전
부모
커밋
4b1417224b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();
         }