Fix slow.rs
This commit is contained in:
parent
4fbb3530ea
commit
e9617e7f80
2 changed files with 11 additions and 3 deletions
|
|
@ -303,7 +303,7 @@ async fn async_main(opts: Opts) -> anyhow::Result<()> {
|
|||
fn wrap<S: StorageFactory + Clone>(s: S) -> impl StorageFactory {
|
||||
#[cfg(feature = "debug_slow_disk")]
|
||||
{
|
||||
use librqbit::middleware::{
|
||||
use librqbit::storage::middleware::{
|
||||
slow::SlowStorageFactory, timing::TimingStorageFactory,
|
||||
};
|
||||
TimingStorageFactory::new("hdd".to_owned(), SlowStorageFactory::new(s))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue