alpha
Login
or
Join now
atradio.fm
/
atradio
Star
13
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A social internet radio platform built on AT Protocol.
atradio.fm
atproto
radio
Star
13
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
atradio
/
apps
/
api
/
src
/
jetstream
/
at
main
1 file
Tsiry Sandratraina
fix(api): dedup #firehose messages across Jetstream connections
2mo ago
d5081525
consumer.ts
fix(api): dedup #firehose messages across Jetstream connections We subscribe to all four Jetstream hosts at once for redundancy, so each commit arrives ~4× and posted 4 duplicate Discord messages. Dedup on a host-stable record identity (operation:collection:did:rkey:cid) via a TTL-bounded seen-set, posting each record once. cid pins the exact record version for create/update; time_us can't be used since each host stamps its own. The check runs before the profile lookup so dupes are cheap.
2 months ago