From 41613c3050b0da2b7f203447582030b415cf1f9d Mon Sep 17 00:00:00 2001 From: mariofusco Date: Fri, 28 Jul 2023 15:44:57 +0200 Subject: [PATCH] fix parallel evaluation --- .../src/main/java/org/drools/base/common/PartitionsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drools-base/src/main/java/org/drools/base/common/PartitionsManager.java b/drools-base/src/main/java/org/drools/base/common/PartitionsManager.java index d8b50db883b..50a092db21e 100644 --- a/drools-base/src/main/java/org/drools/base/common/PartitionsManager.java +++ b/drools-base/src/main/java/org/drools/base/common/PartitionsManager.java @@ -24,7 +24,7 @@ public class PartitionsManager { - private static final int MIN_PARALLEL_THRESHOLD = Runtime.getRuntime().availableProcessors(); + private static final int MIN_PARALLEL_THRESHOLD = 8; private static final int MAX_PARALLEL_THRESHOLD = MIN_PARALLEL_THRESHOLD * 4; private int partitionCounter = 0;