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