an app.bsky.* indexer
1package main
2
3import "github.com/bluesky-social/indigo/backfill"
4
5func NewBackfillService(store backfill.Store, h *HandlerService) *backfill.Backfiller {
6 opts := &backfill.BackfillOptions{
7 ParallelBackfills: 10,
8 ParallelRecordCreates: 1,
9 NSIDFilter: "",
10 SyncRequestsPerSecond: 5,
11 RelayHost: "https://bsky.network",
12 }
13
14 return backfill.NewBackfiller("backfiller", store, h.HandleCreate, h.HandleUpdate, h.HandleDelete, opts)
15}