From 4ce386975cfb01d6f138c5e9e8dd6e06228dc432 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 7 Sep 2024 23:49:04 +0200 Subject: [PATCH] feat: add comment Signed-off-by: kjuulh --- crates/flux-releaser/src/app/infra/grpc.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/flux-releaser/src/app/infra/grpc.rs b/crates/flux-releaser/src/app/infra/grpc.rs index 7b9a17d..a507b59 100644 --- a/crates/flux-releaser/src/app/infra/grpc.rs +++ b/crates/flux-releaser/src/app/infra/grpc.rs @@ -10,6 +10,7 @@ pub type FluxReleaserGrpcClient = Arc>>; pub async fn new_client(registry: impl Into) -> anyhow::Result { let registry: String = registry.into(); + // Workaround: https://github.com/algesten/ureq/issues/765#issuecomment-2282921492 static INIT: std::sync::Once = std::sync::Once::new(); INIT.call_once(|| {