drain all queued auth updates in the output process

This commit is contained in:
Josh Hawkins
2026-10-18 12:40:12 -05:00
parent 3373b1cd05
commit 8dccc937e6
+4 -2
View File
@@ -195,8 +195,10 @@ class OutputProcess(FrigateProcess):
logger.debug("Applied dynamic birdseye config update") logger.debug("Applied dynamic birdseye config update")
# user endpoints publish None on this topic and role edits an AuthConfig # user endpoints publish None on this topic and role edits an AuthConfig
_, auth_config = auth_config_subscriber.check_for_update() while True:
auth_topic, auth_config = auth_config_subscriber.check_for_update()
if auth_topic is None:
break
if isinstance(auth_config, AuthConfig): if isinstance(auth_config, AuthConfig):
self.config.auth = auth_config self.config.auth = auth_config
logger.debug("Applied dynamic auth config update") logger.debug("Applied dynamic auth config update")