mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
MQTT: Restore default MQTT_OUTBOX_EXPIRED_TIMEOUT_MS to 30 sec
The OUTBOX_EXPIRED_TIMEOUT_MS was 30*1000 in original esp-mqtt code. Don't change the default OUTBOX_EXPIRED_TIMEOUT_MS without good reason, which may has impact on memory usage for existing applications. Fixes: 0ea20bed439d ("MQTT: add configurable msg expired timeout") Signed-off-by: Axel Lin <axel.lin@gmail.com>
This commit is contained in:
parent
494a124d96
commit
db276595cf
@ -117,7 +117,7 @@ menu "ESP-MQTT Configurations"
|
||||
|
||||
config MQTT_OUTBOX_EXPIRED_TIMEOUT_MS
|
||||
int "Outbox message expired timeout[ms]"
|
||||
default 300000
|
||||
default 30000
|
||||
depends on MQTT_USE_CUSTOM_CONFIG
|
||||
help
|
||||
Messages which stays in the outbox longer than this value before being published will be discarded.
|
||||
|
Loading…
x
Reference in New Issue
Block a user