]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Thread count was wrong
authorAntti Villberg <antti.villberg@semantum.fi>
Sun, 22 Jul 2018 22:51:17 +0000 (01:51 +0300)
committerAntti Villberg <antti.villberg@semantum.fi>
Thu, 26 Jul 2018 21:00:31 +0000 (00:00 +0300)
Change-Id: If1b97dda9811140a4aa0c5faf5b2f5514141cfc0

bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/SessionImplSocket.java

index c0c4948b787ab8299250340b3a41cd978c8ffea0..f48ccaf6b799a8348a2b8e0341b26a79bb243cee 100644 (file)
@@ -3524,7 +3524,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());
     }