From 2a99ef20469b0bb786488168939bab8d6eec3997 Mon Sep 17 00:00:00 2001 From: Guess <24840952+mynameisdaniel32@users.noreply.github.com> Date: Thu, 11 Nov 2021 18:08:01 +1030 Subject: [PATCH] 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 --- homeassistant/components/ping/binary_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/ping/binary_sensor.py b/homeassistant/components/ping/binary_sensor.py index 0c82c9ff8c4..ea07c3123e9 100644 --- a/homeassistant/components/ping/binary_sensor.py +++ b/homeassistant/components/ping/binary_sensor.py @@ -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\d+.\d+)\/(?P\d+.\d+)\/(?P\d+.\d+)\/(?P\d+.\d+)"