Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions packages/appview/src/indexer/relay-firehose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,15 @@ export class RelayFirehose {
runner: this.runner,
unauthenticatedCommits: opts.unauthenticatedCommits ?? false,
filterCollections: ALL_COLLECTIONS,
// Drop #identity events before @atproto/sync parses them. Parsing one
// resolves the DID document over the network (3s timeout) — for EVERY
// identity event on the whole relay, not just cocore repos — and we
// discard the result below. A bulk identity wave upstream on
// 2026-11-30 turned that into dozens of timed-out PLC lookups per
// second alongside a heap OOM every ~2.5h. #account and #sync stay on:
// they parse without network and are what keeps `lastEventAt` fresh
// (filtered commits never reach `handleEvent`).
excludeIdentity: true,
handleEvent: async (evt: AtEvent) => {
if (evt.event === "create" || evt.event === "update") {
const commit = evt as AtCommitEvt;
Expand Down
Loading