Adds Kconfig option to configure poll read timeout

A new Kconfig option was added to allow users to configure poll read
timeout.

Closes: https://github.com/espressif/esp-mqtt/issues/245
This commit is contained in:
Rocha Euripedes
2023-02-02 20:52:02 +08:00
parent acab02f2c5
commit 2fa945d0b8
2 changed files with 12 additions and 0 deletions
+7
View File
@@ -124,6 +124,13 @@ menu "ESP-MQTT Configurations"
help
MQTT task priority. Higher number denotes higher priority.
config MQTT_POLL_READ_TIMEOUT_MS
int "MQTT transport poll read timeut"
default 1000
depends on MQTT_USE_CUSTOM_CONFIG
help
Timeout when polling underlying transport for read.
config MQTT_EVENT_QUEUE_SIZE
int "Number of queued events."
default 1