syncfeed: drop the redundant SCOPED_TABLES alias, refresh comments

This commit is contained in:
LeoVasanko committed 2026-10-01 07:00:10 +00:00
1 parent a38bb6ccec
commit 7c04a97892
1 file changed
+3 -3
+3 -3
View File
@@ -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
):