From 0f6c266cd70fea1f8631399cc69c1c52abff3e82 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 7 Sep 2026 00:58:02 +0200 Subject: [PATCH] [noise] Give the refill pass 100 ms before the blocking warning on ESP8266 --- esphome/components/api/api_server.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/esphome/components/api/api_server.cpp b/esphome/components/api/api_server.cpp index b01a3b689c..ddcccc0b6e 100644 --- a/esphome/components/api/api_server.cpp +++ b/esphome/components/api/api_server.cpp @@ -42,8 +42,9 @@ void APIServer::setup() { #ifdef USE_API_NOISE #ifdef USE_ESP8266 - // The spare ephemeral refill blocks ~60 ms here; keep it under the warning - this->warn_if_blocking_over_ = 8; // centiseconds + // The spare ephemeral refill blocks ~60 ms here and shares the pass with + // the client loops; keep the whole pass under the blocking warning + this->warn_if_blocking_over_ = 10; // centiseconds #endif // Always reserve the slot: flash preferences are positional on esp8266, so // a yaml key build must keep the layout of a runtime key build