Skip to content

Commit

Permalink
Add possibility to change WEBSOCKETS_TCP_TIMEOUT
Browse files Browse the repository at this point in the history
  • Loading branch information
Yacubane authored and Links2004 committed Aug 22, 2022
1 parent f1ffaed commit 323592f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/WebSockets.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 323592f

Please sign in to comment.