Skip to content

Commit

Permalink
Use rocksdb as default storage engine
Browse files Browse the repository at this point in the history
  • Loading branch information
gdiazlo committed Mar 14, 2019
1 parent e26eda1 commit 8f31c44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import (
"github.com/bbva/qed/protocol"
"github.com/bbva/qed/raftwal"
"github.com/bbva/qed/sign"
"github.com/bbva/qed/storage/badger"
"github.com/bbva/qed/storage/rocks"
"github.com/bbva/qed/util"
)

Expand Down Expand Up @@ -112,7 +112,7 @@ func NewServer(conf *Config) (*Server, error) {
}

// Open badger store
store, err := badger.NewBadgerStoreOpts(&badger.Options{Path: conf.DBPath, ValueLogGC: true})
store, err := rocks.NewRocksDBStore(conf.DBPath)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 8f31c44

Please sign in to comment.