diff --git a/documentation/en/default-lotus-miner-config.toml b/documentation/en/default-lotus-miner-config.toml index f75131af4..3b46ad7d1 100644 --- a/documentation/en/default-lotus-miner-config.toml +++ b/documentation/en/default-lotus-miner-config.toml @@ -665,7 +665,7 @@ # # type: uint64 # env var: LOTUS_SEALING_MAXSECTORPROVECOMMITSSUBMITTEDPEREPOCH - #MaxSectorProveCommitsSubmittedPerEpoch = 0 + #MaxSectorProveCommitsSubmittedPerEpoch = 20 # type: uint64 # env var: LOTUS_SEALING_TERMINATEBATCHMAX diff --git a/node/config/def.go b/node/config/def.go index 4020e4ca6..54d8963f1 100644 --- a/node/config/def.go +++ b/node/config/def.go @@ -151,9 +151,10 @@ func DefaultStorageMiner() *StorageMiner { BatchPreCommitAboveBaseFee: types.FIL(types.BigMul(types.PicoFil, types.NewInt(320))), // 0.32 nFIL AggregateAboveBaseFee: types.FIL(types.BigMul(types.PicoFil, types.NewInt(320))), // 0.32 nFIL - TerminateBatchMin: 1, - TerminateBatchMax: 100, - TerminateBatchWait: Duration(5 * time.Minute), + TerminateBatchMin: 1, + TerminateBatchMax: 100, + TerminateBatchWait: Duration(5 * time.Minute), + MaxSectorProveCommitsSubmittedPerEpoch: 20, }, Proving: ProvingConfig{