stabilize wss connection by increasing timeout back to 60s
This commit is contained in:
parent
9d33739f03
commit
e1226aa044
1 changed files with 1 additions and 1 deletions
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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue