aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-07 17:05:25 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-07 17:05:25 +0100
commitbb77e7c459a624bb2b4ea043145fd6ea75771105 (patch)
tree70d31e76a9eb2d6b925627c775804cd4ad42e4b7 /src/main.rs
parentccb4e87658f622edbd57cc2b5a058c969643bfe2 (diff)
downloadtricot-bb77e7c459a624bb2b4ea043145fd6ea75771105.tar.gz
tricot-bb77e7c459a624bb2b4ea043145fd6ea75771105.zip
Locking to avoid flooding Let's encrypt
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
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(