remove slow storage
This commit is contained in:
parent
4054c36d5e
commit
1c880bf75f
1 changed files with 2 additions and 2 deletions
|
|
@ -383,8 +383,8 @@ async fn async_main(opts: Opts) -> anyhow::Result<()> {
|
||||||
disable_trackers: download_opts.disable_trackers,
|
disable_trackers: download_opts.disable_trackers,
|
||||||
storage_factory: Some({
|
storage_factory: Some({
|
||||||
let sf = Box::<FilesystemStorageFactory>::default();
|
let sf = Box::<FilesystemStorageFactory>::default();
|
||||||
let sf = Box::new(SlowStorageFactory::new(sf));
|
// let sf = Box::new(SlowStorageFactory::new(sf));
|
||||||
Box::new(TimingStorageFactory::new("hdd".to_owned(), sf))
|
Box::new(TimingStorageFactory::new("fs".to_owned(), sf))
|
||||||
}),
|
}),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue