Merge branch 'WIP_persy_batch_next' into 'next'
feat: Integration with persy using background ops See merge request famedly/conduit!231
This commit is contained in:
commit
5d3ba5c628
6 changed files with 286 additions and 1 deletions
|
@ -255,6 +255,12 @@ impl Database {
|
|||
#[cfg(feature = "rocksdb")]
|
||||
Arc::new(Arc::<abstraction::rocksdb::Engine>::open(config)?)
|
||||
}
|
||||
"persy" => {
|
||||
#[cfg(not(feature = "persy"))]
|
||||
return Err(Error::BadConfig("Database backend not found."));
|
||||
#[cfg(feature = "persy")]
|
||||
Arc::new(Arc::<abstraction::persy::Engine>::open(config)?)
|
||||
}
|
||||
_ => {
|
||||
return Err(Error::BadConfig("Database backend not found."));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue