search for standard sites pub-search.waow.tech
search zig blog atproto
11
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: update indexed_at in backfill so incremental sync picks up changes

Without this, rows updated by the backfill script never reach the local
SQLite replica because incremental sync filters by indexed_at.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

zzstoatzz 8e15ed5c cd3ad97a

+1 -1
+1 -1
scripts/mark-bridgyfed
··· 146 146 """Mark all documents for a DID as bridgy fed. Returns affected row count.""" 147 147 return await turso_exec( 148 148 client, settings, 149 - "UPDATE documents SET is_bridgyfed = 1 WHERE did = ? AND (is_bridgyfed IS NULL OR is_bridgyfed = 0)", 149 + "UPDATE documents SET is_bridgyfed = 1, indexed_at = strftime('%Y-%m-%dT%H:%M:%S', 'now') WHERE did = ? AND (is_bridgyfed IS NULL OR is_bridgyfed = 0)", 150 150 semaphore, [did], 151 151 ) 152 152