mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 10:08:40 +00:00
power of 2
This commit is contained in:
@@ -301,6 +301,7 @@ CONFIG_SCHEMA = cv.All(
|
||||
# Maximum queued send buffers per connection before dropping connection
|
||||
# Each buffer uses ~8-12 bytes overhead plus actual message size
|
||||
# Platform defaults based on available RAM and typical message rates:
|
||||
# CONF_MAX_SEND_QUEUE should be a power 2 for best performance
|
||||
cv.SplitDefault(
|
||||
CONF_MAX_SEND_QUEUE,
|
||||
esp8266=4, # Limited RAM, need to fail fast
|
||||
|
||||
Reference in New Issue
Block a user