diff options
author | Alex Auvolat <alex@adnab.me> | 2021-03-16 11:47:39 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-03-16 11:47:39 +0100 |
commit | 0aad2f2e066b5914ac94bb319e7679e2e7761b2b (patch) | |
tree | 81b52a8b8647c0ba0ce44e3ffc554ec46a84b0b2 /src/table/table.rs | |
parent | 515029d026937d29395379c76188f509984b8ace (diff) | |
download | garage-0aad2f2e066b5914ac94bb319e7679e2e7761b2b.tar.gz garage-0aad2f2e066b5914ac94bb319e7679e2e7761b2b.zip |
some reordering
Diffstat (limited to 'src/table/table.rs')
-rw-r--r-- | src/table/table.rs | 4 |
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, |