From 2c490e414804f05ba5d3bc46fe1636e19d0abfa0 Mon Sep 17 00:00:00 2001 From: Proddy Date: Sun, 1 May 2022 15:43:36 +0200 Subject: [PATCH] possible fix for #476 --- lib/async-mqtt-client/src/AsyncMqttClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/async-mqtt-client/src/AsyncMqttClient.cpp b/lib/async-mqtt-client/src/AsyncMqttClient.cpp index 98f0e5f29..7c0f269e9 100644 --- a/lib/async-mqtt-client/src/AsyncMqttClient.cpp +++ b/lib/async-mqtt-client/src/AsyncMqttClient.cpp @@ -426,7 +426,7 @@ void AsyncMqttClient::_handleQueue() { (void)realSent; _client.send(); _lastClientActivity = millis(); - _lastPingRequestTime = 0; + // _lastPingRequestTime = 0; // https://github.com/marvinroger/async-mqtt-client/issues/281#issuecomment-1112897839 #if ASYNC_TCP_SSL_ENABLED log_i("snd #%u: (tls: %u) %u/%u", _head->packetType(), realSent, _sent, _head->size()); #else