mirror of
https://github.com/esphome/esphome.git
synced 2026-09-21 12:08:38 +00:00
c04335d21d39145510767c33d0e1916981368aa7
Increase LOG_NAGLE_COUNT from 2 to 3 on ESP32 and RP2040, which have larger TCP send buffers (64KB and 11.7KB respectively). This coalesces 4 log messages per Nagle cycle instead of 3, reducing the number of individual write() calls and significantly reducing EWOULDBLOCK hits on the log subscriber connection. Tested on ESP32 and RP2040: buffered writes dropped from ~15% to near zero with this change. ESP8266 and LibreTiny remain at LOG_NAGLE_COUNT=2 due to tighter buffer constraints.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
609 MiB
Languages
C++
55.7%
Python
43.7%
C
0.3%
JavaScript
0.2%
