Skip to content

Commit

Permalink
Merge pull request #64 from JackalLabs/increase-db-size
Browse files Browse the repository at this point in the history
fix db crash when data grows to 1.1TB
  • Loading branch information
TheMarstonConnell authored Aug 22, 2024
2 parents 539ee07 + 45684f7 commit 953bc9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func NewApp(home string) (*App, error) {

options.Logger = &logger.SequoiaLogger{}
options.BlockCacheSize = 256 << 25
options.MaxLevels = 8

db, err := badger.Open(options)
if err != nil {
Expand Down

0 comments on commit 953bc9d

Please sign in to comment.