🔧 chore: fix link in the logs & add logs for engine error (#170)

This commit is contained in:
neon_arch 2023-08-05 19:16:27 +03:00
parent 246d043e4a
commit 653d08c801
3 changed files with 4 additions and 2 deletions

View file

@ -98,7 +98,7 @@ impl Config {
let threads: u8 = if parsed_threads == 0 {
let total_num_of_threads: usize = available_parallelism()?.get() / 2;
log::error!("Config Error: The value of `threads` option should be a non zero positive integer");
log::info!("Falling back to using {} threads", total_num_of_threads);
log::error!("Falling back to using {} threads", total_num_of_threads);
total_num_of_threads as u8
} else {
parsed_threads