Restore simulation

This commit is contained in:
Igor Katson 2024-05-03 11:38:47 +01:00
parent 86c95e7c71
commit 16a28a4d96
2 changed files with 8 additions and 8 deletions

View file

@ -300,8 +300,8 @@ async fn async_main(opts: Opts) -> anyhow::Result<()> {
default_defer_writes: opts.defer_writes,
default_storage_factory: Some({
fn wrap<S: StorageFactory + Clone>(s: S) -> impl StorageFactory {
// TimingStorageFactory::new("hdd".to_owned(), SlowStorageFactory::new(s))
TimingStorageFactory::new("hdd".to_owned(), s)
TimingStorageFactory::new("hdd".to_owned(), SlowStorageFactory::new(s))
// TimingStorageFactory::new("hdd".to_owned(), s)
}
if opts.experimental_mmap_storage {