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

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

index 4e37d7fc7b1577938dfc939f58b02954369fdd6a..a85078a41bafd28fb9c5c64acd7f5fc43d6f362f 100644 (file)
@@ -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());
     }