Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
improve comment
  • Loading branch information
liamaharon committed Apr 27, 2023
commit 96baca82160b940f1cde316bfe22ad4f2cf19926
2 changes: 1 addition & 1 deletion utils/frame/remote-externalities/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ where

/// Get the number of threads to use.
/// Cap the number of threads, because performance improvement beyond a small number of threads
/// is marginal, and too many threads can create issues with the HttpClient.
/// is negligible, and too many threads can create issues with the HttpClient.
fn threads() -> NonZeroUsize {
let avaliable = thread::available_parallelism()
.unwrap_or(NonZeroUsize::new(1usize).expect("1 is non-zero; qed"))
Expand Down