Skip to content

Commit

Permalink
e2: set dirty-space for chaindb to 512mb (#10269)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored May 10, 2024
1 parent 23908e4 commit 620d425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ func OpenDatabase(ctx context.Context, config *nodecfg.Config, label kv.Label, n
if config.MdbxGrowthStep > 0 {
opts = opts.GrowthStep(config.MdbxGrowthStep)
}
opts = opts.DirtySpace(uint64(128 * datasize.MB))
opts = opts.DirtySpace(uint64(512 * datasize.MB))
case kv.ConsensusDB:
if config.MdbxPageSize.Bytes() > 0 {
opts = opts.PageSize(config.MdbxPageSize.Bytes())
Expand Down

0 comments on commit 620d425

Please sign in to comment.