parent
814328b12c
commit
331ca46d75
2 changed files with 2 additions and 2 deletions
|
@ -37164,7 +37164,7 @@ Internal.SessionLock.queueJobForNumber = function queueJobForNumber(number, runJ
|
||||||
disconnect : opts.keepalive.disconnect
|
disconnect : opts.keepalive.disconnect
|
||||||
});
|
});
|
||||||
var resetKeepAliveTimer = keepalive.reset.bind(keepalive);
|
var resetKeepAliveTimer = keepalive.reset.bind(keepalive);
|
||||||
socket.addEventListener('connect', resetKeepAliveTimer);
|
socket.addEventListener('open', resetKeepAliveTimer);
|
||||||
socket.addEventListener('message', resetKeepAliveTimer);
|
socket.addEventListener('message', resetKeepAliveTimer);
|
||||||
socket.addEventListener('close', keepalive.stop.bind(keepalive));
|
socket.addEventListener('close', keepalive.stop.bind(keepalive));
|
||||||
}
|
}
|
||||||
|
|
|
@ -135,7 +135,7 @@
|
||||||
disconnect : opts.keepalive.disconnect
|
disconnect : opts.keepalive.disconnect
|
||||||
});
|
});
|
||||||
var resetKeepAliveTimer = keepalive.reset.bind(keepalive);
|
var resetKeepAliveTimer = keepalive.reset.bind(keepalive);
|
||||||
socket.addEventListener('connect', resetKeepAliveTimer);
|
socket.addEventListener('open', resetKeepAliveTimer);
|
||||||
socket.addEventListener('message', resetKeepAliveTimer);
|
socket.addEventListener('message', resetKeepAliveTimer);
|
||||||
socket.addEventListener('close', keepalive.stop.bind(keepalive));
|
socket.addEventListener('close', keepalive.stop.bind(keepalive));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue