chore: cleanup formating

pull/24376/head
Joe-Blount 2023-02-17 15:19:03 -06:00
parent 7b97cdd69c
commit 3997de6a52
1 changed files with 4 additions and 1 deletions

View File

@ -106,7 +106,10 @@ pub async fn command(config: Config) -> Result<(), Error> {
StorageId::from("iox_scratchpad"), StorageId::from("iox_scratchpad"),
); );
let num_threads = config.compactor_config.query_exec_thread_count.unwrap_or_else(||num_cpus::get() - (1 as usize)); let num_threads = config
.compactor_config
.query_exec_thread_count
.unwrap_or_else(|| num_cpus::get() - (1 as usize));
info!(%num_threads, "using specified number of threads"); info!(%num_threads, "using specified number of threads");
let exec = Arc::new(Executor::new_with_config(ExecutorConfig { let exec = Arc::new(Executor::new_with_config(ExecutorConfig {