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 # type: uint64
# env var: LOTUS_SEALING_MAXSECTORPROVECOMMITSSUBMITTEDPEREPOCH # env var: LOTUS_SEALING_MAXSECTORPROVECOMMITSSUBMITTEDPEREPOCH
#MaxSectorProveCommitsSubmittedPerEpoch = 0 #MaxSectorProveCommitsSubmittedPerEpoch = 20
# type: uint64 # type: uint64
# env var: LOTUS_SEALING_TERMINATEBATCHMAX # env var: LOTUS_SEALING_TERMINATEBATCHMAX

View File

@ -154,6 +154,7 @@ func DefaultStorageMiner() *StorageMiner {
TerminateBatchMin: 1, TerminateBatchMin: 1,
TerminateBatchMax: 100, TerminateBatchMax: 100,
TerminateBatchWait: Duration(5 * time.Minute), TerminateBatchWait: Duration(5 * time.Minute),
MaxSectorProveCommitsSubmittedPerEpoch: 20,
}, },
Proving: ProvingConfig{ Proving: ProvingConfig{