From e2a05f73bffe494cb0571df8e6fc0e0d9a194132 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Sat, 9 Apr 2016 17:06:41 +0200 Subject: [PATCH] Adding silly logging for keep-alive reset. --- ts3query.iced | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ts3query.iced b/ts3query.iced index 84bddb2..b07471b 100644 --- a/ts3query.iced +++ b/ts3query.iced @@ -155,9 +155,14 @@ module.exports = class TS3ClientQuery extends EventEmitter if @_keepaliveInt? clearInterval @_keepaliveInt @_keepaliveInt = null + @_log.silly "Stopped keep-alive." + return + @_log.silly "Requested to stop keep-alive sending but it's already stopped!" _resetKeepalive: () => @_stopKeepalive() + + @_log.silly "Setting up keep-alive." @_keepaliveInt = setInterval @_sendKeepalive, 60000 close: (cb) =>