Named fork for better logging

This commit is contained in:
Bogdan-Ștefan Neacşu
2024-07-03 13:03:32 +00:00
parent 28d15f2c4f
commit a4eb3a7dbf
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ impl<St> Gateway<St> {
opts.config.clone(),
wireguard_data.inner.clone(),
)
.with_shutdown(shutdown.clone());
.with_shutdown(shutdown.fork("authenticator"));
tokio::spawn(async move { authenticator_server.run_service_provider().await });
nym_wireguard::start_wireguard(shutdown, wireguard_data).await
} else {
+1 -2
View File
@@ -9,13 +9,12 @@ edition.workspace = true
license.workspace = true
[dependencies]
fastrand = "2"
anyhow = { workspace = true }
bincode = { workspace = true }
bs58 = { workspace = true }
bytes = { workspace = true }
clap = { workspace = true }
fastrand = { workspace = true }
futures = { workspace = true }
log = { workspace = true }
rand = { workspace = true }