diff --git a/stakedb/ticketpool.go b/stakedb/ticketpool.go index 5f1b400246..deb2be89de 100644 --- a/stakedb/ticketpool.go +++ b/stakedb/ticketpool.go @@ -172,6 +172,7 @@ func dbVersion(db *badger.DB) (uint32, error) { func badgerOptions(badgerDbPath string) badger.Options { opts := badger.DefaultOptions(badgerDbPath) opts.DetectConflicts = false + opts.BlockCacheSize = 1 << 29 opts.CompactL0OnClose = true opts.MetricsEnabled = false opts.Logger = &badgerLogger{log}