Skip to content

Commit

Permalink
reduce no of tokio worker threads to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sug0 committed Jul 23, 2024
1 parent 3c60371 commit 12ff1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block-index/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ macro_rules! exit {
}};
}

#[tokio::main]
#[tokio::main(worker_threads = 2)]
async fn main() -> Result<(), MainError> {
let AppConfig {
verbosity,
Expand Down

0 comments on commit 12ff1a8

Please sign in to comment.