mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-09 19:11:01 +00:00
Cargo fmt
This commit is contained in:
@@ -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