mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-09 14:19:22 +00:00
table::insert_many, version_table::updated
This commit is contained in:
+3
-6
@@ -30,10 +30,10 @@ pub struct Config {
|
||||
#[serde(default = "default_block_size")]
|
||||
pub block_size: usize,
|
||||
|
||||
#[serde(default = "default_meta_replication_factor")]
|
||||
#[serde(default = "default_replication_factor")]
|
||||
pub meta_replication_factor: usize,
|
||||
|
||||
#[serde(default = "default_data_replication_factor")]
|
||||
#[serde(default = "default_replication_factor")]
|
||||
pub data_replication_factor: usize,
|
||||
}
|
||||
|
||||
@@ -139,10 +139,7 @@ impl Garage {
|
||||
fn default_block_size() -> usize {
|
||||
1048576
|
||||
}
|
||||
fn default_meta_replication_factor() -> usize {
|
||||
3
|
||||
}
|
||||
fn default_data_replication_factor() -> usize {
|
||||
fn default_replication_factor() -> usize {
|
||||
3
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user