Skip to content

Commit

Permalink
Reduce default POOL_SIZE calculation factor from 20 to 4 in bindercor…
Browse files Browse the repository at this point in the history
…e_v2.rs
  • Loading branch information
nullchinchilla committed Aug 11, 2024
1 parent c5aa47f commit 50a8fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindercore_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub struct BinderCoreV2 {
}

pub static POOL_SIZE: LazyLock<u32> =
LazyLock::new(|| 20 * available_parallelism().unwrap().get() as u32);
LazyLock::new(|| 4 * available_parallelism().unwrap().get() as u32);

impl BinderCoreV2 {
/// Constructs a BinderCore.
Expand Down

0 comments on commit 50a8fe1

Please sign in to comment.