Skip to content

Commit

Permalink
Updated number of version to keep to 1 (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
sana-jawad authored May 6, 2020
1 parent c595202 commit 968799a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/sloop/store/untyped/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ func OpenStore(factory badgerwrap.Factory, config *Config) (badgerwrap.DB, error

opts = opts.WithSyncWrites(config.BadgerSyncWrites)

// https://github.com/dgraph-io/badger/issues/1228
opts = opts.WithNumVersionsToKeep(0)

db, err := factory.Open(opts)
if err != nil {
return nil, fmt.Errorf("badger.OpenStore failed with: %v", err)
Expand Down

0 comments on commit 968799a

Please sign in to comment.