...wtf...
This commit is contained in:
parent
122b22c2e5
commit
68c6fb2547
1 changed files with 2 additions and 2 deletions
|
|
@ -300,8 +300,8 @@ async fn async_main(opts: Opts) -> anyhow::Result<()> {
|
||||||
default_defer_writes: opts.defer_writes,
|
default_defer_writes: opts.defer_writes,
|
||||||
default_storage_factory: Some({
|
default_storage_factory: Some({
|
||||||
fn wrap<S: StorageFactory + Clone>(s: S) -> impl StorageFactory {
|
fn wrap<S: StorageFactory + Clone>(s: S) -> impl StorageFactory {
|
||||||
TimingStorageFactory::new("hdd".to_owned(), SlowStorageFactory::new(s))
|
// TimingStorageFactory::new("hdd".to_owned(), SlowStorageFactory::new(s))
|
||||||
// TimingStorageFactory::new("hdd".to_owned(), s)
|
TimingStorageFactory::new("hdd".to_owned(), s)
|
||||||
}
|
}
|
||||||
|
|
||||||
if opts.experimental_mmap_storage {
|
if opts.experimental_mmap_storage {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue