Skip to content

Commit

Permalink
disabled db freeze functionality with rocksdb for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sadoci committed Nov 5, 2019
1 parent f3a9d9a commit 9f660d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/rawdb/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ func NewDB(file string, cache int, handles int, namespace string) (ethdb.Databas

func NewDBWithFreezer(file string, cache int, handles int, freezer string, namespace string) (ethdb.Database, error) {
if params.UseRocksDb != 0 {
return NewRocksDBDatabaseWithFreezer(file, cache, handles, freezer, namespace)
return NewRocksDBDatabase(file, cache, handles, namespace)
//return NewRocksDBDatabaseWithFreezer(file, cache, handles, freezer, namespace)
} else {
return NewLevelDBDatabaseWithFreezer(file, cache, handles, freezer, namespace)
}
Expand Down

0 comments on commit 9f660d3

Please sign in to comment.