power of 2

This commit is contained in:
J. Nick Koston
2026-03-16 12:06:52 -10:00
parent 0bccf4a42d
commit 2d8c7938c2
+1
View File
@@ -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