Replies: 1 comment 2 replies
-
Hello, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Platform
ESP32
IDE / Tooling
PlatformIO
What happened?
My ESP32 server is sending data to the client at regular intervals using websockets. Switch away from that server to another and the AsyncEventSource _messageQueue naturally begins to fill. If it does fill (32 entries) the message:
[908712][E][AsyncEventSource.cpp:230] _queueMessage(): Event message queue overflow: discard message
begins to appear on the console for every write. However, you can reconnect to the ESP32 server again, and once the connection is made, it will empty the queue and continue on, seemingly without any problems (apart from the >32 missing entries). However, the above message continues to appear, even when the _messageQueue.size() function returns normal values.
Causing no problems, but is there any reason this message is not reset along with the queue contents?
Stack Trace
None
Minimal Reproductible Example (MRE)
Not required
I confirm that:
Beta Was this translation helpful? Give feedback.
All reactions