possible fix for #476

This commit is contained in:
Proddy
2022-05-01 15:43:36 +02:00
parent 6241999d2f
commit 2c490e4148

View File

@@ -426,7 +426,7 @@ void AsyncMqttClient::_handleQueue() {
(void)realSent; (void)realSent;
_client.send(); _client.send();
_lastClientActivity = millis(); _lastClientActivity = millis();
_lastPingRequestTime = 0; // _lastPingRequestTime = 0; // https://github.com/marvinroger/async-mqtt-client/issues/281#issuecomment-1112897839
#if ASYNC_TCP_SSL_ENABLED #if ASYNC_TCP_SSL_ENABLED
log_i("snd #%u: (tls: %u) %u/%u", _head->packetType(), realSent, _sent, _head->size()); log_i("snd #%u: (tls: %u) %u/%u", _head->packetType(), realSent, _sent, _head->size());
#else #else