mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-10-20 18:56:21 +00:00
Cargo fmt
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user