Skip to content

Commit

Permalink
raise max cache and table size to above test values
Browse files Browse the repository at this point in the history
  • Loading branch information
DocSavage committed Dec 5, 2019
1 parent 319a2fc commit ad05464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/badger/lowmem.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func getOptions(path string, config dvid.Config) (*badger.Options, error) {
opts = opts.WithValueLogLoadingMode(options.FileIO)
opts = opts.WithTableLoadingMode(options.FileIO)
opts = opts.WithValueLogFileSize(16 << 20) // 16 MB value log file
opts = opts.WithMaxCacheSize(1 << 20)
opts = opts.WithMaxTableSize(1 << 20)
opts = opts.WithMaxCacheSize(8 << 20)
opts = opts.WithMaxTableSize(8 << 20)
return &opts, nil
}

0 comments on commit ad05464

Please sign in to comment.