fix: lint error
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -380,7 +380,8 @@ Inputs:
|
||||
```json
|
||||
[
|
||||
{
|
||||
"MaxConcurrency": 123
|
||||
"MaxConcurrency": 123,
|
||||
"IncludeSealed": true
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
@@ -17,7 +17,7 @@ import (
|
||||
|
||||
func TestShardRegistration(t *testing.T) {
|
||||
ps := tut.NewTestPieceStore()
|
||||
providerNode := testnodes.NewTestRetrievalProviderNode()
|
||||
sa := testnodes.NewTestSectorAccessor()
|
||||
|
||||
ctx := context.Background()
|
||||
cids := tut.GenerateCids(4)
|
||||
@@ -82,7 +82,7 @@ func TestShardRegistration(t *testing.T) {
|
||||
cfg := config.DefaultStorageMiner().DAGStore
|
||||
cfg.RootDir = t.TempDir()
|
||||
|
||||
mapi := NewMinerAPI(ps, providerNode, 10)
|
||||
mapi := NewMinerAPI(ps, sa, 10)
|
||||
dagst, w, err := NewDAGStore(cfg, mapi)
|
||||
require.NoError(t, err)
|
||||
require.NotNil(t, dagst)
|
||||
|
||||
@@ -130,8 +130,8 @@ and storage providers`,
|
||||
Name: "RootDir",
|
||||
Type: "string",
|
||||
|
||||
Comment: `Default value: $LOTUS_MARKETS_PATH/dagStore (split deployment) or
|
||||
$LOTUS_MINER_PATH/dagStore (monolith deployment)`,
|
||||
Comment: `Default value: $LOTUS_MARKETS_PATH/dagstore (split deployment) or
|
||||
$LOTUS_MINER_PATH/dagstore (monolith deployment)`,
|
||||
},
|
||||
{
|
||||
Name: "MaxConcurrentIndex",
|
||||
@@ -146,7 +146,7 @@ Default value: 5.`,
|
||||
|
||||
Comment: `The maximum amount of unsealed deals that can be fetched simultaneously
|
||||
from the storage subsystem.
|
||||
Default value: 2.`,
|
||||
Default value: 0.`,
|
||||
},
|
||||
{
|
||||
Name: "MaxConcurrencyStorageCalls",
|
||||
|
||||
Reference in New Issue
Block a user