Add semaphore to limit RAM used by buffered outgoing requests

This commit is contained in:
Alex Auvolat
2021-11-03 17:00:40 +01:00
parent 8c4f418fe8
commit 6f13d083ab
3 changed files with 34 additions and 7 deletions
+1 -4
View File
@@ -235,10 +235,7 @@ impl System {
node_status: RwLock::new(HashMap::new()),
netapp: netapp.clone(),
fullmesh: fullmesh.clone(),
rpc: RpcHelper {
fullmesh,
background: background.clone(),
},
rpc: RpcHelper::new(fullmesh, background.clone()),
system_endpoint,
replication_factor,
rpc_listen_addr: config.rpc_bind_addr,