Fixed bug: RuntimeError: dictionary changed size during iteration

This commit is contained in:
SergeantPanda 2025-03-18 10:22:41 -05:00
parent ad068e63bd
commit 71f7357d0b

View file

@ -823,7 +823,7 @@ class ProxyServer:
return
# Refresh registry entries for channels we own
for channel_id in self.stream_managers.keys():
for channel_id in list(self.stream_buffers.keys()):
# Use standard key pattern
metadata_key = f"ts_proxy:channel:{channel_id}:metadata"