aboutsummaryrefslogtreecommitdiff
path: root/src/garage/server.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-04-05 19:55:53 +0200
committerAlex Auvolat <alex@adnab.me>2021-04-05 19:55:53 +0200
commit0eb5baea1a8e23fd373685f40aa32a84f794ad49 (patch)
tree00b5180edcfab392eef203f594edb1332ccfce5d /src/garage/server.rs
parent7d772737a58b3c8dce147e4704152e2e6471bd90 (diff)
downloadgarage-0eb5baea1a8e23fd373685f40aa32a84f794ad49.tar.gz
garage-0eb5baea1a8e23fd373685f40aa32a84f794ad49.zip
Improve bootstraping: do it regularly; persist peer list
Diffstat (limited to 'src/garage/server.rs')
-rw-r--r--src/garage/server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/garage/server.rs b/src/garage/server.rs
index c45a69b8..feb858e4 100644
--- a/src/garage/server.rs
+++ b/src/garage/server.rs
@@ -52,7 +52,7 @@ pub async fn run_server(config_file: PathBuf) -> Result<(), Error> {
info!("Initializing Garage main data store...");
let garage = Garage::new(config.clone(), db, background, &mut rpc_server);
let bootstrap = garage.system.clone().bootstrap(
- &config.bootstrap_peers[..],
+ config.bootstrap_peers,
config.consul_host,
config.consul_service_name,
);