aboutsummaryrefslogtreecommitdiff
path: root/src/table/table.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-03-16 11:47:39 +0100
committerAlex Auvolat <alex@adnab.me>2021-03-16 11:47:39 +0100
commit0aad2f2e066b5914ac94bb319e7679e2e7761b2b (patch)
tree81b52a8b8647c0ba0ce44e3ffc554ec46a84b0b2 /src/table/table.rs
parent515029d026937d29395379c76188f509984b8ace (diff)
downloadgarage-0aad2f2e066b5914ac94bb319e7679e2e7761b2b.tar.gz
garage-0aad2f2e066b5914ac94bb319e7679e2e7761b2b.zip
some reordering
Diffstat (limited to 'src/table/table.rs')
-rw-r--r--src/table/table.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/table.rs b/src/table/table.rs
index f00b4239..421c8bf5 100644
--- a/src/table/table.rs
+++ b/src/table/table.rs
@@ -66,7 +66,7 @@ where
let data = TableData::new(name, instance, replication, db);
- let merkle_updater = MerkleUpdater::launch(data.clone(), system.background.clone());
+ let merkle_updater = MerkleUpdater::launch(&system.background, data.clone());
let syncer = TableSyncer::launch(
system.clone(),
@@ -74,7 +74,7 @@ where
merkle_updater.clone(),
rpc_server,
);
- TableGC::launch(data.clone(), system.clone(), rpc_server);
+ TableGC::launch(system.clone(), data.clone(), rpc_server);
let table = Arc::new(Self {
system,