forked from me-no-dev/ESPAsyncWebServer
add limit to how many messages can be queued for each web socket client
This commit is contained in:
@@ -24,8 +24,10 @@
|
||||
#include <Arduino.h>
|
||||
#ifdef ESP32
|
||||
#include <AsyncTCP.h>
|
||||
#define WS_MAX_QUEUED_MESSAGES 32
|
||||
#else
|
||||
#include <ESPAsyncTCP.h>
|
||||
#define WS_MAX_QUEUED_MESSAGES 8
|
||||
#endif
|
||||
#include <ESPAsyncWebServer.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user