From 6028d7ba1882aa82dad6a61630f9fb7c91e0ff73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 15 Feb 2023 19:41:46 +0100 Subject: [PATCH] sectors list: Explain http mode --- cmd/lotus-miner/sectors.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/lotus-miner/sectors.go b/cmd/lotus-miner/sectors.go index 2dad7fc0f..6ff84b3fa 100644 --- a/cmd/lotus-miner/sectors.go +++ b/cmd/lotus-miner/sectors.go @@ -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