From 101eaa3222bbfa79a6ed6d98bded5c2a2676b606 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 21 Apr 2026 11:59:53 +0200 Subject: [PATCH] [api] Keep host default at 8, only lower esp32/libretiny to 6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Revert host=6 to host=8 — the host platform has no BSS-slot concern (no flash/RAM pressure). The lowering to 6 still applies to esp32/bk72xx/rtl87xx/ln882x where every array slot costs static RAM. Users who need more than 6 concurrent clients can bump max_connections up to the schema's max of 20. --- esphome/components/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/api/__init__.py b/esphome/components/api/__init__.py index ce2377a3ed..a51eeb7f08 100644 --- a/esphome/components/api/__init__.py +++ b/esphome/components/api/__init__.py @@ -295,7 +295,7 @@ CONFIG_SCHEMA = cv.All( rp2040=4, # 264KB RAM but LWIP constraints bk72xx=6, # Moderate RAM rtl87xx=6, # Moderate RAM - host=6, # Abundant resources, but array is compile-time so keep it reasonable + host=8, # Abundant resources, no BSS-slot concern ln882x=6, # Moderate RAM ): cv.int_range(min=1, max=20), # Maximum queued send buffers per connection before dropping connection