diff options
author | Alex Auvolat <alex@adnab.me> | 2021-04-05 19:55:53 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-04-05 19:55:53 +0200 |
commit | 0eb5baea1a8e23fd373685f40aa32a84f794ad49 (patch) | |
tree | 00b5180edcfab392eef203f594edb1332ccfce5d /src/garage/server.rs | |
parent | 7d772737a58b3c8dce147e4704152e2e6471bd90 (diff) | |
download | garage-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.rs | 2 |
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, ); |