fix(mqtt): Fix test with local mosquitto increasing stack size

4kB stack size for mosquitto runner task wasn't enough and with
recent updates of sock_utils it caused stack overflows
This commit is contained in:
David Cermak 2024-12-20 15:54:12 +01:00
parent b5ac4fbdf9
commit 7fa64f64d6
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
## IDF Component Manager Manifest File ## IDF Component Manager Manifest File
dependencies: dependencies:
espressif/mosquitto: espressif/mosquitto:
version: "*" version: ">=2.0.20"
protocol_examples_common: protocol_examples_common:
path: ${IDF_PATH}/examples/common_components/protocol_examples_common path: ${IDF_PATH}/examples/common_components/protocol_examples_common
idf: idf:

View File

@ -316,7 +316,7 @@ void app_main(void)
ESP_ERROR_CHECK(esp_netif_init()); ESP_ERROR_CHECK(esp_netif_init());
ESP_ERROR_CHECK(esp_event_loop_create_default()); ESP_ERROR_CHECK(esp_event_loop_create_default());
#ifdef CONFIG_EXAMPLE_RUN_LOCAL_BROKER #ifdef CONFIG_EXAMPLE_RUN_LOCAL_BROKER
xTaskCreate(broker_task, "broker", 4096, NULL, 4, NULL); xTaskCreate(broker_task, "broker", 8192, NULL, 4, NULL);
#endif #endif
ESP_ERROR_CHECK(example_connect()); ESP_ERROR_CHECK(example_connect());
esp_console_repl_t *repl = NULL; esp_console_repl_t *repl = NULL;