From 7c04a97892b72a874275f1d2708392aef04a9841 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Thu, 1 Oct 2026 07:00:10 +0000 Subject: [PATCH] syncfeed: drop the redundant SCOPED_TABLES alias, refresh comments --- paskia/syncfeed.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paskia/syncfeed.py b/paskia/syncfeed.py index 69039ed..a8b1814 100644 --- a/paskia/syncfeed.py +++ b/paskia/syncfeed.py @@ -25,10 +25,10 @@ from uuid import UUID import msgspec # Tables mirrored by satellites, all filtered to the subscriber's rp-id -# (reset tokens, sync tokens, OIDC data and domain config are +# scope set (reset tokens, link tables, OIDC data and domain config are # instance-local and never replicated). TABLES = ("credentials", "sessions") -SCOPED_TABLES = TABLES + # The user graph is never published; upserts of these tables drive the # eager re-push of affected session contexts instead. @@ -102,7 +102,7 @@ def emit(table: str, key: str, obj) -> None: for queue, scope in list(_subscribers.items()): if ( scope is not None - and table in SCOPED_TABLES + and table in TABLES and fields is not None and fields.get("rp_id") not in scope ):