From 7e784046e8521aa34474bbccd762ecedf14a39bf Mon Sep 17 00:00:00 2001 From: Antti Villberg Date: Mon, 23 Jul 2018 01:51:17 +0300 Subject: [PATCH] Thread count was wrong Change-Id: If1b97dda9811140a4aa0c5faf5b2f5514141cfc0 --- .../fi/vtt/simantics/procore/internal/SessionImplSocket.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/SessionImplSocket.java b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/SessionImplSocket.java index 4e37d7fc7..a85078a41 100644 --- a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/SessionImplSocket.java +++ b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/SessionImplSocket.java @@ -3526,7 +3526,7 @@ public abstract class SessionImplSocket implements Session, WriteRequestSchedule public int getAmountOfQueryThreads() { // This must be a power of two - return 1; + return 16; // return Integer.highestOneBit(Runtime.getRuntime().availableProcessors()); } -- 2.47.1