forked from Deuxfleurs/garage
block/manager.rs: Set defaults for scrub_persister.
This commit is contained in:
parent
7b65dd24e2
commit
d218f475cb
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ impl BlockManager {
|
|||
tx_scrub_command: ArcSwapOption::new(None),
|
||||
});
|
||||
block_manager.endpoint.set_handler(block_manager.clone());
|
||||
block_manager.scrub_persister.set_with(|_| ()).unwrap();
|
||||
|
||||
block_manager
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue