aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/system.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-11-04 16:04:26 +0100
committerAlex Auvolat <alex@adnab.me>2021-11-04 16:19:27 +0100
commite8811f7c9de5dadd33eed7bc35878369131e1207 (patch)
treeafc21854d328c2d098f74ca37aa18160bd4ec6b3 /src/rpc/system.rs
parent2090a6187f7d106e0641bed4cac145ad5184995d (diff)
downloadgarage-e8811f7c9de5dadd33eed7bc35878369131e1207.tar.gz
garage-e8811f7c9de5dadd33eed7bc35878369131e1207.zip
Request strategy: don't launch all 3 requests if not neededv0.4-rc2
Diffstat (limited to 'src/rpc/system.rs')
-rw-r--r--src/rpc/system.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/system.rs b/src/rpc/system.rs
index a518ef21..3f5f7fb1 100644
--- a/src/rpc/system.rs
+++ b/src/rpc/system.rs
@@ -235,7 +235,7 @@ impl System {
node_status: RwLock::new(HashMap::new()),
netapp: netapp.clone(),
fullmesh: fullmesh.clone(),
- rpc: RpcHelper::new(fullmesh, background.clone()),
+ rpc: RpcHelper::new(netapp.id.into(), fullmesh, background.clone(), ring.clone()),
system_endpoint,
replication_factor,
rpc_listen_addr: config.rpc_bind_addr,