Skip to content

Commit

Permalink
remove a bunch of indexer functionality (#971)
Browse files Browse the repository at this point in the history
This is on top of #970
  • Loading branch information
bnewbold authored Mar 4, 2025
2 parents ad5bcde + a411544 commit 3ceb27f
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 594 deletions.
7 changes: 1 addition & 6 deletions cmd/bigsky/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ func run(args []string) error {
Name: "crawl-insecure-ws",
Usage: "when connecting to PDS instances, use ws:// instead of wss://",
},
&cli.BoolFlag{
Name: "spidering",
Value: false,
EnvVars: []string{"RELAY_SPIDERING", "BGS_SPIDERING"},
},
&cli.StringFlag{
Name: "api-listen",
Value: ":2470",
Expand Down Expand Up @@ -450,7 +445,7 @@ func runBigsky(cctx *cli.Context) error {

rf := indexer.NewRepoFetcher(db, repoman, cctx.Int("max-fetch-concurrency"))

ix, err := indexer.NewIndexer(db, evtman, cachedidr, rf, true, false, cctx.Bool("spidering"))
ix, err := indexer.NewIndexer(db, evtman, cachedidr, rf, true)
if err != nil {
return err
}
Expand Down
Loading

0 comments on commit 3ceb27f

Please sign in to comment.