From e1226aa0447cacb1db84ae3ed910a8fc5a6d2c92 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Tue, 17 Jan 2023 10:09:44 +0100 Subject: [PATCH] stabilize wss connection by increasing timeout back to 60s --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e2da7da..49c0ee8 100644 --- a/index.js +++ b/index.js @@ -402,7 +402,7 @@ class PairdropServer { _keepAlive(peer) { this._cancelKeepAlive(peer); - let timeout = 2500; + let timeout = 30000; if (!peer.lastBeat) { peer.lastBeat = Date.now(); }