We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a6ab11 commit 0714013Copy full SHA for 0714013
src/AsyncTCP.cpp
@@ -63,7 +63,7 @@ static bool _start_asyncsock_task(void)
63
xTaskCreateUniversal(
64
_asynctcpsock_task,
65
"asyncTcpSock",
66
- 8192 * 2,
+ CONFIG_ASYNC_TCP_STACK,
67
NULL,
68
3, // <-- TODO: make priority a compile-time parameter
69
&_asyncsock_service_task_handle,
src/AsyncTCP.h
@@ -44,6 +44,9 @@ extern "C" {
44
#define CONFIG_ASYNC_TCP_RUNNING_CORE -1 //any available core
45
#define CONFIG_ASYNC_TCP_USE_WDT 1 //if enabled, adds between 33us and 200us per event
46
#endif
47
+#ifndef CONFIG_ASYNC_TCP_STACK
48
+#define CONFIG_ASYNC_TCP_STACK 16384 // 8192 * 2
49
+#endif
50
51
class AsyncClient;
52
0 commit comments