mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2025-08-06 14:14:39 +02:00
Made DEFAULT_MAX_WS_CLIENTS customizable
This commit is contained in:
@@ -48,11 +48,13 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef DEFAULT_MAX_WS_CLIENTS
|
||||
#ifdef ESP32
|
||||
#define DEFAULT_MAX_WS_CLIENTS 8
|
||||
#else
|
||||
#define DEFAULT_MAX_WS_CLIENTS 4
|
||||
#endif
|
||||
#endif
|
||||
|
||||
using AsyncWebSocketSharedBuffer = std::shared_ptr<std::vector<uint8_t>>;
|
||||
|
||||
|
Reference in New Issue
Block a user