Skip to content

Commit

Permalink
Reduce default POOL_SIZE calculation to 3x available parallelism in b…
Browse files Browse the repository at this point in the history
…indercore_v2
  • Loading branch information
nullchinchilla committed Aug 11, 2024
1 parent 50a8fe1 commit 09cb0f1
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(|| 4 * available_parallelism().unwrap().get() as u32);
LazyLock::new(|| 3 * available_parallelism().unwrap().get() as u32);

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

0 comments on commit 09cb0f1

Please sign in to comment.