Skip to content

Commit

Permalink
fix the comments on spawn_concurrency_level
Browse files Browse the repository at this point in the history
  • Loading branch information
wathenjiang committed Sep 22, 2023
1 parent 7bbc2e4 commit c15c0bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/runtime/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ impl Builder {
// Default to lazy auto-detection (one thread per CPU core)
worker_threads: None,

// Default to lazy auto-detection (twice the number of worker threads)
// Default to lazy auto-detection (4 times the number of worker threads)
spawn_concurrency_level: None,

max_blocking_threads: 512,
Expand Down

0 comments on commit c15c0bd

Please sign in to comment.