mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
[api] Keep host default at 8, only lower esp32/libretiny to 6
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user