mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-17 23:02:15 +00:00
Increase ws keepalive interval to 30 seconds
This commit is contained in:
@@ -117,7 +117,7 @@ class SnapdropServer {
|
||||
|
||||
_keepAlive(peer) {
|
||||
this._cancelKeepAlive(peer);
|
||||
var timeout = 10000;
|
||||
var timeout = 30000;
|
||||
if (!peer.lastBeat) {
|
||||
peer.lastBeat = Date.now();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user