mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 23:49:20 +01:00
Add auto-disconnect config to keepalive constructor
Disconnects on no keepalive response by default. // FREEBIE
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
console.log('Unknown websocket message', request.path);
|
||||
}
|
||||
});
|
||||
new KeepAlive(wsr);
|
||||
new KeepAlive(wsr, { disconnect: false });
|
||||
});
|
||||
}).then(function() {
|
||||
return generateKeys(100, progressCallback);
|
||||
|
||||
Reference in New Issue
Block a user