mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 09:19:51 +03:00
AsyncTCP 3.4.6, check log queue for overflow
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user