block/manager.rs: Set defaults for scrub_persister.
This commit is contained in:
parent
7b65dd24e2
commit
d218f475cb
@ -152,6 +152,7 @@ impl BlockManager {
|
|||||||
tx_scrub_command: ArcSwapOption::new(None),
|
tx_scrub_command: ArcSwapOption::new(None),
|
||||||
});
|
});
|
||||||
block_manager.endpoint.set_handler(block_manager.clone());
|
block_manager.endpoint.set_handler(block_manager.clone());
|
||||||
|
block_manager.scrub_persister.set_with(|_| ()).unwrap();
|
||||||
|
|
||||||
block_manager
|
block_manager
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user