From 3ccc3807b328b6dbde3d9b910d5e798546662d8a Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Sun, 2 May 2021 18:45:04 +0200 Subject: [PATCH] Reduced stack size to 2048 --- src/asynchttprequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asynchttprequest.cpp b/src/asynchttprequest.cpp index 0e6c4ee..520e28a 100644 --- a/src/asynchttprequest.cpp +++ b/src/asynchttprequest.cpp @@ -54,7 +54,7 @@ std::optional AsyncHttpRequest::startTask() eventGroup.clearBits(TASK_RUNNING | START_REQUEST_BIT | REQUEST_RUNNING_BIT | REQUEST_FINISHED_BIT | END_TASK_BIT | TASK_ENDED); - const auto result = espcpputils::createTask(requestTask, m_taskName, 4096, this, 10, &taskHandle, m_coreAffinity); + const auto result = espcpputils::createTask(requestTask, m_taskName, 2048, this, 10, &taskHandle, m_coreAffinity); if (result != pdPASS) { auto msg = std::string{"failed creating http task "} + std::to_string(result);