We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f78426 commit f4263deCopy full SHA for f4263de
src/AsyncWebSocket.h
@@ -24,10 +24,16 @@
24
#include <Arduino.h>
25
#ifdef ESP32
26
#include <AsyncTCP.h>
27
+#if !defined(WS_MAX_QUEUED_MESSAGES) || WS_MAX_QUEUED_MESSAGES < 1
28
+#undef WS_MAX_QUEUED_MESSAGES
29
#define WS_MAX_QUEUED_MESSAGES 32
30
+#endif // !defined(WS_MAX_QUEUED_MESSAGES) || WS_MAX_QUEUED_MESSAGES < 1
31
#else
32
#include <ESPAsyncTCP.h>
33
34
35
#define WS_MAX_QUEUED_MESSAGES 8
36
37
#endif
38
#include <ESPAsyncWebServer.h>
39
0 commit comments