an app.bsky.* indexer

add --sync-requests-limit flag

Changed files
+5 -1
cmd
+1 -1
cmd/monarch/backfill.go
···
ParallelBackfills: cctx.Int("backfill-workers"),
ParallelRecordCreates: cctx.Int("backfill-consumers"),
NSIDFilter: "",
-
SyncRequestsPerSecond: 10,
+
SyncRequestsPerSecond: cctx.Int("sync-requests-limit"),
RelayHost: "https://" + cctx.String("relay-host"),
}
+4
cmd/monarch/main.go
···
Name: "max-repo-crawlers",
Value: 4,
},
+
&cli.IntFlag{
+
Name: "sync-requests-limit",
+
Value: 30,
+
},
}
app.Action = func(cctx *cli.Context) error {