Commit Graph

1 Commits (dev)

Author SHA1 Message Date
Ashley e5e21833fc Rebuild timeline caches atomically
warmCache deleted the live sorted set and then re-added members one by
one, so a concurrent reader during a forced rebuild saw an empty or
partial feed, and an empty read could trip the home cold-boot path.
Build into a temporary key and rename it over the live key so readers
always see either the previous set or the fully rebuilt one. When no
eligible posts remain the live key is cleared.
2 weeks ago