mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-08-01 19:55:12 +02:00
MQTT: add configurable msg expired timeout
This commit is contained in:
committed by
Euripedes Rocha
parent
8b3d3db10b
commit
25b661c8ea
@@ -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
|
Set to true if a specific implementation of message outbox is needed (e.g. persistant outbox in NVM or
|
||||||
similar).
|
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
|
endmenu
|
||||||
|
Reference in New Issue
Block a user