Skip to content

Commit

Permalink
default batching config
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Mar 12, 2021
1 parent c26825c commit 48e69ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions node/config/def.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ func DefaultStorageMiner() *StorageMiner {
MaxSealingSectors: 0,
MaxSealingSectorsForDeals: 0,
WaitDealsDelay: Duration(time.Hour * 6),

AggregateCommits: true,
MinCommitBatch: 5, // todo: base this on some real numbers
MaxCommitBatch: 400,
},

Storage: sectorstorage.SealerConfig{
Expand Down

0 comments on commit 48e69ed

Please sign in to comment.