MQTT: add configurable msg expired timeout

pull/5919/head
Marius Vikhammer 2020-08-10 16:43:23 +08:00 zatwierdzone przez bot
rodzic 03f5d2fec8
commit 0ea20bed43
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -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