Merge pull request #10728 from filecoin-project/sbansal/stagger-commits-set-default

Set default for MaxSectorProveCommitsSubmittedPerEpoch
This commit is contained in:
Aayush Rajasekaran 2023-05-01 10:25:28 -04:00 committed by GitHub
commit e291da9adc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -665,7 +665,7 @@
#
# type: uint64
# env var: LOTUS_SEALING_MAXSECTORPROVECOMMITSSUBMITTEDPEREPOCH
#MaxSectorProveCommitsSubmittedPerEpoch = 0
#MaxSectorProveCommitsSubmittedPerEpoch = 20
# type: uint64
# env var: LOTUS_SEALING_TERMINATEBATCHMAX

View File

@ -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{