diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-07 18:31:04 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-12-07 18:31:04 +0100 |
commit | 9119c2f45c348497ea8d2f2f73768f50a198c4af (patch) | |
tree | 2f3c70f0c0377419efe2c3ed01c4162653114153 /src/main.rs | |
parent | 489d364676003fa08130689a9f509de7d4df1602 (diff) | |
download | tricot-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.rs | 1 |
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() { |