mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Use different directory for rocksdb database
This commit is contained in:
@@ -28,10 +28,9 @@ impl DiskDB {
|
|||||||
/*
|
/*
|
||||||
* Initialise the path
|
* Initialise the path
|
||||||
*/
|
*/
|
||||||
let mut db_path = path.join("rocksdb");
|
fs::create_dir_all(&path)
|
||||||
fs::create_dir_all(&db_path)
|
.expect(&format!("Unable to create {:?}", &path));
|
||||||
.expect(&format!("Unable to create {:?}", &db_path));
|
let db_path = path.join("database");
|
||||||
db_path = db_path.join("database");
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Open the database
|
* Open the database
|
||||||
|
|||||||
Reference in New Issue
Block a user