offload remaining db iterator initial seeks on cache miss

consume task budget on cache hit

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and strawberry committed 2025-01-01 23:28:01 -05:00
1 parent 14341bb906
commit 98e6c81e49
16 files changed
+199 -131

No files matched your search

+1 -5
View File
@@ -1,11 +1,7 @@
use std::{convert::AsRef, fmt::Debug, sync::Arc};
use conduwuit::{implement, Result};
use futures::{
future,
stream::{Stream, StreamExt},
TryStreamExt,
};
use futures::{future, Stream, StreamExt, TryStreamExt};
use serde::{Deserialize, Serialize};
use crate::keyval::{result_deserialize, serialize_key, KeyVal};