aboutsummaryrefslogtreecommitdiff
path: root/src/server.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-16 17:04:28 +0200
committerAlex Auvolat <alex@adnab.me>2020-04-16 17:04:28 +0200
commite8d750175de3daff0876b63c9ae4dcbd047be793 (patch)
treeac6055924240d1315d3f41912dabe39398138576 /src/server.rs
parentf01c1e71b5421d8941d1484e224cd6fd75525651 (diff)
downloadgarage-e8d750175de3daff0876b63c9ae4dcbd047be793.tar.gz
garage-e8d750175de3daff0876b63c9ae4dcbd047be793.zip
Implement ring comparison algorithm
Diffstat (limited to 'src/server.rs')
-rw-r--r--src/server.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/server.rs b/src/server.rs
index af58ded1..78b992f5 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -93,7 +93,8 @@ impl Garage {
&db,
"block_ref".to_string(),
data_rep_param.clone(),
- ).await;
+ )
+ .await;
let version_table = Table::new(
VersionTable {
background: background.clone(),
@@ -103,7 +104,8 @@ impl Garage {
&db,
"version".to_string(),
meta_rep_param.clone(),
- ).await;
+ )
+ .await;
let object_table = Table::new(
ObjectTable {
background: background.clone(),
@@ -113,7 +115,8 @@ impl Garage {
&db,
"object".to_string(),
meta_rep_param.clone(),
- ).await;
+ )
+ .await;
let mut garage = Self {
db,