mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 06:05:10 +02:00
Set PARALLEL_UPDATES for ping binary sensor (#59524)
Changing PARALLEL_UPDATES from 0 (unlimited) to 50 as with many sensors (above 500) successful pings weren't being recorded. Resolves https://github.com/home-assistant/core/issues/54860
This commit is contained in:
@@ -38,7 +38,7 @@ DEFAULT_PING_COUNT = 5
|
||||
|
||||
SCAN_INTERVAL = timedelta(minutes=5)
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
PARALLEL_UPDATES = 50
|
||||
|
||||
PING_MATCHER = re.compile(
|
||||
r"(?P<min>\d+.\d+)\/(?P<avg>\d+.\d+)\/(?P<max>\d+.\d+)\/(?P<mdev>\d+.\d+)"
|
||||
|
Reference in New Issue
Block a user