AsyncTCP 3.4.6, check log queue for overflow

This commit is contained in:
MichaelDvP
2025-07-31 18:55:23 +02:00
parent 2aa691212c
commit 69964482f8
2 changed files with 10 additions and 6 deletions

View File

@@ -164,7 +164,7 @@ void WebLogService::show(Shell & shell) {
}
void WebLogService::loop() {
if (!events_.count() || log_messages_.empty()) {
if (!events_.count() || log_messages_.empty() || events_.avgPacketsWaiting() >= SSE_MAX_QUEUED_MESSAGES) {
return;
}