mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-31 12:18:31 +00:00
add option to disable rocksdb checksums
reference runtime state for default option initialization Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
13335042b7
commit
98f9570547
14 changed files with 62 additions and 36 deletions
|
@ -22,7 +22,7 @@ where
|
|||
pub fn rev_raw_keys(self: &Arc<Self>) -> impl Stream<Item = Result<Key<'_>>> + Send {
|
||||
use crate::pool::Seek;
|
||||
|
||||
let opts = super::iter_options_default();
|
||||
let opts = super::iter_options_default(&self.db);
|
||||
let state = stream::State::new(self, opts);
|
||||
if is_cached(self) {
|
||||
let state = state.init_rev(None);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue