Request strategy: don't launch all 3 requests if not needed

This commit is contained in:
Alex Auvolat
2021-11-04 16:04:26 +01:00
parent 2090a6187f
commit e8811f7c9d
2 changed files with 156 additions and 49 deletions
+1 -1
View File
@@ -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,