mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2025-08-05 13:44:38 +02:00
Made DEFAULT_MAX_SSE_CLIENTS customizable
This commit is contained in:
@@ -44,11 +44,13 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef DEFAULT_MAX_SSE_CLIENTS
|
||||||
#ifdef ESP32
|
#ifdef ESP32
|
||||||
#define DEFAULT_MAX_SSE_CLIENTS 8
|
#define DEFAULT_MAX_SSE_CLIENTS 8
|
||||||
#else
|
#else
|
||||||
#define DEFAULT_MAX_SSE_CLIENTS 4
|
#define DEFAULT_MAX_SSE_CLIENTS 4
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
class AsyncEventSource;
|
class AsyncEventSource;
|
||||||
class AsyncEventSourceResponse;
|
class AsyncEventSourceResponse;
|
||||||
|
Reference in New Issue
Block a user