aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-07 18:31:04 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-07 18:31:04 +0100
commit9119c2f45c348497ea8d2f2f73768f50a198c4af (patch)
tree2f3c70f0c0377419efe2c3ed01c4162653114153 /src/main.rs
parent489d364676003fa08130689a9f509de7d4df1602 (diff)
downloadtricot-9119c2f45c348497ea8d2f2f73768f50a198c4af.tar.gz
tricot-9119c2f45c348497ea8d2f2f73768f50a198c4af.zip
Use node IP when service IP is not available
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 3a51702..f38767e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -38,6 +38,7 @@ struct Opt {
pub https_bind_addr: SocketAddr,
}
+
#[tokio::main(flavor = "multi_thread", worker_threads = 10)]
async fn main() {
if std::env::var("RUST_LOG").is_err() {