mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 15:27:33 +00:00
[noise] Give the refill pass 100 ms before the blocking warning on ESP8266
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user