From 12ff1a86a695e6eee4883fd48d2069ebf9abaf6e Mon Sep 17 00:00:00 2001 From: Tiago Carvalho Date: Fri, 19 Jul 2024 22:49:40 +0100 Subject: [PATCH] reduce no of tokio worker threads to 2 --- block-index/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block-index/src/main.rs b/block-index/src/main.rs index 06264c3..38aeb0f 100644 --- a/block-index/src/main.rs +++ b/block-index/src/main.rs @@ -31,7 +31,7 @@ macro_rules! exit { }}; } -#[tokio::main] +#[tokio::main(worker_threads = 2)] async fn main() -> Result<(), MainError> { let AppConfig { verbosity,