refactor: remove max_write_errors and max_faults

This commit is contained in:
Yureka
2024-03-04 18:37:00 +01:00
parent bbde9bc912
commit 6760895926
5 changed files with 5 additions and 19 deletions
-7
View File
@@ -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,