From a4eb3a7dbfaaf41718b082e32ab7c719a9692d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogdan-=C8=98tefan=20Neac=C5=9Fu?= Date: Wed, 3 Jul 2024 13:03:32 +0000 Subject: [PATCH] Named fork for better logging --- gateway/src/node/mod.rs | 2 +- service-providers/authenticator/Cargo.toml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gateway/src/node/mod.rs b/gateway/src/node/mod.rs index 2236cc40c5..ada40c10a7 100644 --- a/gateway/src/node/mod.rs +++ b/gateway/src/node/mod.rs @@ -246,7 +246,7 @@ impl Gateway { 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 { diff --git a/service-providers/authenticator/Cargo.toml b/service-providers/authenticator/Cargo.toml index fc1387ef2d..d18f858d82 100644 --- a/service-providers/authenticator/Cargo.toml +++ b/service-providers/authenticator/Cargo.toml @@ -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 }