aboutsummaryrefslogtreecommitdiff
path: root/src/block/manager.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-03-13 16:14:13 +0100
committerAlex Auvolat <alex@adnab.me>2023-03-13 16:14:13 +0100
commitf37ec584b6009b16d1c7f06918889954b22f5afb (patch)
treeaa39b41d63358277d61f2cb92ef9565a97c1c901 /src/block/manager.rs
parent40fa1242f080ba69159607c47f46d47c30267285 (diff)
parentdc6be3983300ee3ee10f601cfc04a06563d86f48 (diff)
downloadgarage-f37ec584b6009b16d1c7f06918889954b22f5afb.tar.gz
garage-f37ec584b6009b16d1c7f06918889954b22f5afb.zip
Merge branch 'main' into rustversion-label
Diffstat (limited to 'src/block/manager.rs')
-rw-r--r--src/block/manager.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/block/manager.rs b/src/block/manager.rs
index bfa66069..26278974 100644
--- a/src/block/manager.rs
+++ b/src/block/manager.rs
@@ -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
}