Cargo fmt

This commit is contained in:
James Wilson
2021-08-06 17:49:19 +01:00
parent 78ad7115e5
commit 8017d8b00f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ fn main() {
let worker_threads = match opts.worker_threads {
Some(0) => num_cpus::get(),
Some(n) => n,
None => usize::min(num_cpus::get(), 8)
None => usize::min(num_cpus::get(), 8),
};
tokio::runtime::Builder::new_multi_thread()
+1 -1
View File
@@ -101,7 +101,7 @@ fn main() {
Some(n) => n,
// By default, use a max of 4 worker threads, as we don't
// expect to need a lot of parallelism in shards.
None => usize::min(num_cpus::get(), 4)
None => usize::min(num_cpus::get(), 4),
};
tokio::runtime::Builder::new_multi_thread()