Merge branch 'feature/mqtt_outbox_expired_config' into 'master'

MQTT: add configurable msg expired timeout

See merge request espressif/esp-idf!9997
This commit is contained in:
David Čermák 2020-09-02 20:40:45 +08:00
commit 40f3cc4a34

View File

@ -115,4 +115,11 @@ menu "ESP-MQTT Configurations"
Set to true if a specific implementation of message outbox is needed (e.g. persistant outbox in NVM or
similar).
config MQTT_OUTBOX_EXPIRED_TIMEOUT_MS
int "Outbox message expired timeout[ms]"
default 300000
depends on MQTT_USE_CUSTOM_CONFIG
help
Messages which stays in the outbox longer than this value before being published will be discarded.
endmenu