aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-06-30 15:03:34 +0200
committerAlex Auvolat <alex@adnab.me>2020-06-30 15:03:34 +0200
commitdb6f1f35a869f9afa22198ee2ac32a812afae3c5 (patch)
tree98e85621b6fcdf9d9f1bb758efbbac79987a439e /src/core
parentc56de7fdd1b6f1606e0f1f9a9e3038fa9dd479f8 (diff)
downloadgarage-db6f1f35a869f9afa22198ee2ac32a812afae3c5.tar.gz
garage-db6f1f35a869f9afa22198ee2ac32a812afae3c5.zip
Rename epidemic_factor to epidemic_fanout (that's what it is); complete conf example in readme
Diffstat (limited to 'src/core')
-rw-r--r--src/core/garage.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/garage.rs b/src/core/garage.rs
index d77b0acd..46e0d02f 100644
--- a/src/core/garage.rs
+++ b/src/core/garage.rs
@@ -66,8 +66,8 @@ impl Garage {
};
let control_rep_param = TableFullReplication::new(
- config.meta_epidemic_factor,
- (config.meta_epidemic_factor + 1) / 2,
+ config.meta_epidemic_fanout,
+ (config.meta_epidemic_fanout + 1) / 2,
);
info!("Initialize block manager...");