From 597a962fbf4a8610792b11e4f221721d8c6594e2 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Sat, 4 Apr 2026 23:48:00 -0300 Subject: [PATCH] fix: use multi-threaded runtime for email config lookup to avoid blocking --- src/core/secrets/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/secrets/mod.rs b/src/core/secrets/mod.rs index bd546344..a1865889 100644 --- a/src/core/secrets/mod.rs +++ b/src/core/secrets/mod.rs @@ -872,8 +872,9 @@ impl SecretsManager { let (tx, rx) = std::sync::mpsc::channel(); std::thread::spawn(move || { - let rt = tokio::runtime::Builder::new_current_thread() + let rt = tokio::runtime::Builder::new_multi_thread() .enable_all() + .worker_threads(1) .build(); let result = if let Ok(rt) = rt { rt.block_on(async move {