mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-23 03:39:44 +00:00
Additional logging to help track down socket disconnect problems (#1469)
FREEBIE
This commit is contained in:
@@ -37370,6 +37370,7 @@ Internal.SessionLock.queueJobForNumber = function queueJobForNumber(number, runJ
|
|||||||
clearTimeout(this.keepAliveTimer);
|
clearTimeout(this.keepAliveTimer);
|
||||||
clearTimeout(this.disconnectTimer);
|
clearTimeout(this.disconnectTimer);
|
||||||
this.keepAliveTimer = setTimeout(function() {
|
this.keepAliveTimer = setTimeout(function() {
|
||||||
|
console.log('Sending a keepalive message');
|
||||||
this.wsr.sendRequest({
|
this.wsr.sendRequest({
|
||||||
verb: 'GET',
|
verb: 'GET',
|
||||||
path: this.path,
|
path: this.path,
|
||||||
|
|||||||
@@ -182,6 +182,7 @@
|
|||||||
clearTimeout(this.keepAliveTimer);
|
clearTimeout(this.keepAliveTimer);
|
||||||
clearTimeout(this.disconnectTimer);
|
clearTimeout(this.disconnectTimer);
|
||||||
this.keepAliveTimer = setTimeout(function() {
|
this.keepAliveTimer = setTimeout(function() {
|
||||||
|
console.log('Sending a keepalive message');
|
||||||
this.wsr.sendRequest({
|
this.wsr.sendRequest({
|
||||||
verb: 'GET',
|
verb: 'GET',
|
||||||
path: this.path,
|
path: this.path,
|
||||||
|
|||||||
Reference in New Issue
Block a user