mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-18 07:12:15 +00:00
stabilize wss connection by increasing timeout back to 60s
This commit is contained in:
2
index.js
2
index.js
@@ -402,7 +402,7 @@ class PairdropServer {
|
|||||||
|
|
||||||
_keepAlive(peer) {
|
_keepAlive(peer) {
|
||||||
this._cancelKeepAlive(peer);
|
this._cancelKeepAlive(peer);
|
||||||
let timeout = 2500;
|
let timeout = 30000;
|
||||||
if (!peer.lastBeat) {
|
if (!peer.lastBeat) {
|
||||||
peer.lastBeat = Date.now();
|
peer.lastBeat = Date.now();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user