Made DEFAULT_MAX_SSE_CLIENTS customizable

This commit is contained in:
Mathieu Carbou
2024-06-10 11:49:19 +02:00
parent 144d44a230
commit 3ae2eee54e

View File

@@ -44,11 +44,13 @@
#endif
#endif
#ifndef DEFAULT_MAX_SSE_CLIENTS
#ifdef ESP32
#define DEFAULT_MAX_SSE_CLIENTS 8
#else
#define DEFAULT_MAX_SSE_CLIENTS 4
#endif
#endif
class AsyncEventSource;
class AsyncEventSourceResponse;