aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2024-03-04 18:37:00 +0100
committerYureka <yuka@yuka.dev>2024-03-04 18:39:56 +0100
commit6760895926c23112583dfc53a01ecbcfad02a276 (patch)
tree6cfad4bd68493aa2038b60f7f2005ec91bcc0509 /src/rpc
parentbbde9bc91225ac41ea6e8def61c5b7044bb186a0 (diff)
downloadgarage-6760895926c23112583dfc53a01ecbcfad02a276.tar.gz
garage-6760895926c23112583dfc53a01ecbcfad02a276.zip
refactor: remove max_write_errors and max_faults
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/replication_mode.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rpc/replication_mode.rs b/src/rpc/replication_mode.rs
index 2f7e2fec..b142ea10 100644
--- a/src/rpc/replication_mode.rs
+++ b/src/rpc/replication_mode.rs
@@ -21,13 +21,6 @@ impl ReplicationMode {
}
}
- pub fn control_write_max_faults(&self) -> usize {
- match self {
- Self::None => 0,
- _ => 1,
- }
- }
-
pub fn replication_factor(&self) -> usize {
match self {
Self::None => 1,