diff --git a/homeassistant/bootstrap.py b/homeassistant/bootstrap.py index 030099a9e2c..0800586eb85 100644 --- a/homeassistant/bootstrap.py +++ b/homeassistant/bootstrap.py @@ -101,7 +101,6 @@ STAGE_2_TIMEOUT = 300 WRAP_UP_TIMEOUT = 300 COOLDOWN_TIME = 60 -MAX_LOAD_CONCURRENTLY = 6 DEBUGGER_INTEGRATIONS = {"debugpy"} CORE_INTEGRATIONS = {"homeassistant", "persistent_notification"} diff --git a/homeassistant/helpers/storage.py b/homeassistant/helpers/storage.py index 44460ffa601..39cfac885cc 100644 --- a/homeassistant/helpers/storage.py +++ b/homeassistant/helpers/storage.py @@ -21,7 +21,7 @@ from homeassistant.core import ( callback, ) from homeassistant.exceptions import HomeAssistantError -from homeassistant.loader import MAX_LOAD_CONCURRENTLY, bind_hass +from homeassistant.loader import bind_hass from homeassistant.util import json as json_util import homeassistant.util.dt as dt_util from homeassistant.util.file import WriteError @@ -36,6 +36,7 @@ else: # mypy: allow-untyped-calls, allow-untyped-defs, no-warn-return-any # mypy: no-check-untyped-defs +MAX_LOAD_CONCURRENTLY = 6 STORAGE_DIR = ".storage" _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/loader.py b/homeassistant/loader.py index ac1d71a632c..06bac608aec 100644 --- a/homeassistant/loader.py +++ b/homeassistant/loader.py @@ -98,7 +98,6 @@ CUSTOM_WARNING = ( _UNDEF = object() # Internal; not helpers.typing.UNDEFINED due to circular dependency -MAX_LOAD_CONCURRENTLY = 4 MOVED_ZEROCONF_PROPS = ("macaddress", "model", "manufacturer")