mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Change default for keepalive autodisconnect config
By default, automatically disconnect if no response. This is preferable because we can sometimes lose connectivity without receiving a close event from the socket, but it's also possible that the endpoint may not support responses. // FREEBIE
This commit is contained in:
+1
-1
@@ -38636,7 +38636,7 @@ TextSecureWebSocket = function (url, opts) {
|
||||
}
|
||||
this.disconnect = opts.disconnect;
|
||||
if (this.disconnect === undefined) {
|
||||
this.disconnect = false;
|
||||
this.disconnect = true;
|
||||
}
|
||||
this.wsr = websocketResource;
|
||||
this.reset();
|
||||
|
||||
Reference in New Issue
Block a user