Skip to content

Commit

Permalink
consensus/parlia: increase size of snapshot cache in parlia (bnb-chai…
Browse files Browse the repository at this point in the history
  • Loading branch information
buddh0 authored and weiihann committed Dec 5, 2023
1 parent fa4ed2a commit 7aa81c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/parlia/parlia.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import (
)

const (
inMemorySnapshots = 128 // Number of recent snapshots to keep in memory
inMemorySnapshots = 256 // Number of recent snapshots to keep in memory
inMemorySignatures = 4096 // Number of recent block signatures to keep in memory

checkpointInterval = 1024 // Number of blocks after which to save the snapshot to the database
Expand Down

0 comments on commit 7aa81c4

Please sign in to comment.