From 45c48b7e6002ee54564b540226dafae9a5f9f318 Mon Sep 17 00:00:00 2001 From: TienHuyIoTLab Date: Mon, 14 Jul 2025 09:11:52 +0700 Subject: [PATCH] Fix Async polling interval to 1 second --- src/AsyncTCP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsyncTCP.cpp b/src/AsyncTCP.cpp index e0408f6..3498e83 100644 --- a/src/AsyncTCP.cpp +++ b/src/AsyncTCP.cpp @@ -92,7 +92,7 @@ struct tcp_core_guard { TCP poll interval is specified in terms of the TCP coarse timer interval, which is called twice a second https://github.com/espressif/esp-lwip/blob/2acf959a2bb559313cd2bf9306c24612ba3d0e19/src/core/tcp.c#L1895 */ -#define CONFIG_ASYNC_TCP_POLL_TIMER 1 +#define CONFIG_ASYNC_TCP_POLL_TIMER 2 // Called every 2 * 500ms /* * TCP/IP Event Task