mirror of
https://github.com/esphome/esphome.git
synced 2026-09-14 08:38:39 +00:00
Increase MAX_RESENDS_PER_LOOP from 4 to 8
This commit is contained in:
@@ -30,7 +30,7 @@ static const char *const TAG = "mqtt";
|
||||
|
||||
// Maximum number of MQTT component resends per loop iteration.
|
||||
// Limits work to avoid triggering the task watchdog on reconnect.
|
||||
static constexpr uint8_t MAX_RESENDS_PER_LOOP = 4;
|
||||
static constexpr uint8_t MAX_RESENDS_PER_LOOP = 8;
|
||||
|
||||
// Disconnect reason strings indexed by MQTTClientDisconnectReason enum (0-8)
|
||||
PROGMEM_STRING_TABLE(MQTTDisconnectReasonStrings, "TCP disconnected", "Unacceptable Protocol Version",
|
||||
|
||||
Reference in New Issue
Block a user