aboutsummaryrefslogtreecommitdiff
path: root/src/table/table.rs
diff options
context:
space:
mode:
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,