From 766b75c549ec53cffe87c70a6ee37f2ed0ef73b8 Mon Sep 17 00:00:00 2001 From: David Young Date: Wed, 10 Dec 2025 12:00:27 +1300 Subject: [PATCH] tweak router replica search Signed-off-by: David Young --- comet/api/endpoints/stream.py | 1 + 1 file changed, 1 insertion(+) diff --git a/comet/api/endpoints/stream.py b/comet/api/endpoints/stream.py index 9f9d8bc..4ec407b 100644 --- a/comet/api/endpoints/stream.py +++ b/comet/api/endpoints/stream.py @@ -47,6 +47,7 @@ async def is_first_search(media_id: str): RETURNING 1 """, params, + force_primary=True, ) return inserted == 1 except Exception: