diff --git a/frigate/record/maintainer.py b/frigate/record/maintainer.py index d3a814b9b..6a70ee298 100644 --- a/frigate/record/maintainer.py +++ b/frigate/record/maintainer.py @@ -443,11 +443,14 @@ class RecordingMaintainer(threading.Thread): run_start = datetime.datetime.now().timestamp() # check if there is an updated config - updated_topic, updated_record_config = ( - self.config_subscriber.check_for_update() - ) + while True: + updated_topic, updated_record_config = ( + self.config_subscriber.check_for_update() + ) + + if not updated_topic: + break - if updated_topic: camera_name = updated_topic.rpartition("/")[-1] self.config.cameras[camera_name].record = updated_record_config