aboutsummaryrefslogtreecommitdiff
path: root/src/util/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/config.rs')
-rw-r--r--src/util/config.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/config.rs b/src/util/config.rs
index 28349530..5c01712b 100644
--- a/src/util/config.rs
+++ b/src/util/config.rs
@@ -24,8 +24,8 @@ pub struct Config {
#[serde(default = "default_replication_factor")]
pub meta_replication_factor: usize,
- #[serde(default = "default_epidemic_factor")]
- pub meta_epidemic_factor: usize,
+ #[serde(default = "default_epidemic_fanout")]
+ pub meta_epidemic_fanout: usize,
#[serde(default = "default_replication_factor")]
pub data_replication_factor: usize,
@@ -57,7 +57,7 @@ fn default_block_size() -> usize {
fn default_replication_factor() -> usize {
3
}
-fn default_epidemic_factor() -> usize {
+fn default_epidemic_fanout() -> usize {
3
}