From 323592f622e0ec8f9ce1f995c5777d9bbaaae1ec Mon Sep 17 00:00:00 2001 From: jakubdybczak Date: Sun, 14 Aug 2022 18:03:16 +0200 Subject: [PATCH] Add possibility to change WEBSOCKETS_TCP_TIMEOUT --- src/WebSockets.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WebSockets.h b/src/WebSockets.h index 60c13d9..3ee3f3a 100644 --- a/src/WebSockets.h +++ b/src/WebSockets.h @@ -94,7 +94,9 @@ #define WEBSOCKETS_YIELD_MORE() #endif +#ifndef WEBSOCKETS_TCP_TIMEOUT #define WEBSOCKETS_TCP_TIMEOUT (5000) +#endif #define NETWORK_ESP8266_ASYNC (0) #define NETWORK_ESP8266 (1)