Skip to content

Commit

Permalink
use default thread pool
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Oct 5, 2024
1 parent 658e537 commit cd63032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-io/src/csv/read/read_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ impl<'a> CoreReader<'a> {
#[cfg(not(target_family = "wasm"))]
let pool;
#[cfg(not(target_family = "wasm"))]
let pool = if n_threads != POOL.current_num_threads() {
let pool = if n_threads == POOL.current_num_threads() {
&POOL
} else {
pool = rayon::ThreadPoolBuilder::new()
Expand Down

0 comments on commit cd63032

Please sign in to comment.