Additional logging to help track down socket disconnect problems (#1469)

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-09-13 09:05:23 -07:00
parent 20ebdf130e
commit 420cfc46be
No known key found for this signature in database
GPG key ID: A4931C09644C654B
2 changed files with 2 additions and 0 deletions

View file

@ -37370,6 +37370,7 @@ Internal.SessionLock.queueJobForNumber = function queueJobForNumber(number, runJ
clearTimeout(this.keepAliveTimer);
clearTimeout(this.disconnectTimer);
this.keepAliveTimer = setTimeout(function() {
console.log('Sending a keepalive message');
this.wsr.sendRequest({
verb: 'GET',
path: this.path,

View file

@ -182,6 +182,7 @@
clearTimeout(this.keepAliveTimer);
clearTimeout(this.disconnectTimer);
this.keepAliveTimer = setTimeout(function() {
console.log('Sending a keepalive message');
this.wsr.sendRequest({
verb: 'GET',
path: this.path,