1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-26 04:33:47 +00:00
This commit is contained in:
J. Nick Koston
2025-10-19 08:41:21 -10:00
parent 7107f5d984
commit 148a78aa01

View File

@@ -770,7 +770,6 @@ def _configure_lwip_max_sockets(conf: dict) -> None:
# Early return if no sockets registered and no user override
if total_sockets == 0 and user_max_sockets is None:
add_idf_sdkconfig_option("CONFIG_LWIP_MAX_SOCKETS", DEFAULT_MAX_SOCKETS)
return
components_list = ", ".join(
@@ -792,8 +791,9 @@ def _configure_lwip_max_sockets(conf: dict) -> None:
if user_sockets_int < total_sockets:
_LOGGER.warning(
"CONFIG_LWIP_MAX_SOCKETS is set to %d but your configuration needs %d sockets (registered: %s). "
"You may experience socket exhaustion errors. Consider increasing to at least %d.",
"CONFIG_LWIP_MAX_SOCKETS is set to %d but your configuration "
"needs %d sockets (registered: %s). You may experience socket "
"exhaustion errors. Consider increasing to at least %d.",
user_sockets_int,
total_sockets,
components_list,