From 976abc0edeaf72f849103504853389546c843540 Mon Sep 17 00:00:00 2001 From: n9k Date: Wed, 15 Jun 2022 08:59:07 +0000 Subject: [PATCH] WS: increase uptime drift tolerance for resending --- anonstream/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anonstream/tasks.py b/anonstream/tasks.py index a31368a..f25a2fc 100644 --- a/anonstream/tasks.py +++ b/anonstream/tasks.py @@ -162,7 +162,7 @@ async def t_broadcast_stream_info_update(iteration): elif uptime is None or expected_uptime is None: stats_changed = True else: - stats_changed = abs(uptime - expected_uptime) >= 0.0625 + stats_changed = abs(uptime - expected_uptime) >= 0.5 # Check if viewership has changed if current_app.stream_viewership != viewership: