this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

config flag

+21 -3
+21 -3
cmd/bigsky/main.go
··· 216 216 Usage: "forward POST requestCrawl to this url, should be machine root url and not xrpc/requestCrawl, comma separated list", 217 217 EnvVars: []string{"RELAY_NEXT_CRAWLER"}, 218 218 }, 219 + &cli.BoolFlag{ 220 + Name: "non-archival", 221 + EnvVars: []string{"RELAY_NON_ARCHIVAL"}, 222 + Value: false, 223 + }, 219 224 } 220 225 221 226 app.Action = runBigsky ··· 345 350 } 346 351 } 347 352 348 - cstore, err := carstore.NewCarStore(csdb, csdirs) 349 - if err != nil { 350 - return err 353 + var cstore carstore.CarStore 354 + 355 + if cctx.Bool("non-archival") { 356 + cs, err := carstore.NewNonArchivalCarstore(csdb) 357 + if err != nil { 358 + return err 359 + } 360 + 361 + cstore = cs 362 + } else { 363 + cs, err := carstore.NewCarStore(csdb, csdirs) 364 + if err != nil { 365 + return err 366 + } 367 + 368 + cstore = cs 351 369 } 352 370 353 371 // DID RESOLUTION