diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-07 17:05:25 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-12-07 17:05:25 +0100 |
commit | bb77e7c459a624bb2b4ea043145fd6ea75771105 (patch) | |
tree | 70d31e76a9eb2d6b925627c775804cd4ad42e4b7 /src/main.rs | |
parent | ccb4e87658f622edbd57cc2b5a058c969643bfe2 (diff) | |
download | tricot-bb77e7c459a624bb2b4ea043145fd6ea75771105.tar.gz tricot-bb77e7c459a624bb2b4ea043145fd6ea75771105.zip |
Locking to avoid flooding Let's encrypt
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index df0845d..9d710b2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,8 +19,8 @@ async fn main() { pretty_env_logger::init(); info!("Starting Tricot"); - let consul = consul::Consul::new("http://10.42.0.21:8500", "tricot/"); - let mut rx_proxy_config = proxy_config::spawn_proxy_config_task(consul.clone(), "carcajou"); + let consul = consul::Consul::new("http://10.42.0.21:8500", "tricot/", "carcajou"); + let mut rx_proxy_config = proxy_config::spawn_proxy_config_task(consul.clone()); let cert_store = cert_store::CertStore::new(consul.clone()); tokio::spawn( |