limit concurrent updates to avoid network flood (#23534)
This commit is contained in:
@@ -24,6 +24,7 @@ CAPABILITIES_COLOR_TEMP = 0x10
|
||||
|
||||
UNSUPPORTED_ATTRIBUTE = 0x86
|
||||
SCAN_INTERVAL = timedelta(minutes=60)
|
||||
PARALLEL_UPDATES = 5
|
||||
|
||||
|
||||
async def async_setup_platform(hass, config, async_add_entities,
|
||||
|
||||
@@ -14,6 +14,7 @@ from .core.const import (
|
||||
SIGNAL_ATTR_UPDATED, SIGNAL_STATE_ATTR)
|
||||
from .entity import ZhaEntity
|
||||
|
||||
PARALLEL_UPDATES = 5
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user