Skip to content

Commit

Permalink
sectors list: Explain http mode
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Feb 15, 2023
1 parent 17adcb7 commit 6028d7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/lotus-miner/sectors.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ var sectorsListCmd = &cli.Command{
},
},
Action: func(cctx *cli.Context) error {
// http mode allows for parallel json decoding/encoding, which was a bottleneck here
minerApi, closer, err := lcli.GetStorageMinerAPI(cctx, cliutil.StorageMinerUseHttp)
if err != nil {
return err
Expand Down

0 comments on commit 6028d7b

Please sign in to comment.