aboutsummaryrefslogtreecommitdiff
path: root/src/util/config.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-10-19 17:00:01 +0200
committerAlex Auvolat <alex@adnab.me>2021-10-19 23:39:47 +0200
commit550ce7db2a43ddff310df710b78aab4a11436a2b (patch)
tree13c69699d1dfb526f79d14a57565a87ce3a3a105 /src/util/config.rs
parent12190efd410002a75b28167526273b9276d36bd2 (diff)
downloadgarage-550ce7db2a43ddff310df710b78aab4a11436a2b.tar.gz
garage-550ce7db2a43ddff310df710b78aab4a11436a2b.zip
Update doc: quick_start
Diffstat (limited to 'src/util/config.rs')
-rw-r--r--src/util/config.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util/config.rs b/src/util/config.rs
index 95c5cfc0..5ce5aa17 100644
--- a/src/util/config.rs
+++ b/src/util/config.rs
@@ -46,10 +46,6 @@ pub struct Config {
/// Consul service name to use
pub consul_service_name: Option<String>,
- /// Max number of concurrent RPC request
- #[serde(default = "default_max_concurrent_rpc_requests")]
- pub max_concurrent_rpc_requests: usize,
-
/// Sled cache size, in bytes
#[serde(default = "default_sled_cache_capacity")]
pub sled_cache_capacity: u64,
@@ -91,9 +87,6 @@ fn default_sled_cache_capacity() -> u64 {
fn default_sled_flush_every_ms() -> u64 {
2000
}
-fn default_max_concurrent_rpc_requests() -> usize {
- 12
-}
fn default_block_size() -> usize {
1048576
}