]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Try to read queries from cache also in cases where cache is not written 31/3231/1
authorAntti Villberg <antti.villberg@semantum.fi>
Tue, 10 Sep 2019 08:42:47 +0000 (11:42 +0300)
committerAntti Villberg <antti.villberg@semantum.fi>
Tue, 10 Sep 2019 08:42:47 +0000 (11:42 +0300)
gitlab #320

Change-Id: I4446238b8998f592df710b2992ba3c2cc6fe0bee

bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCache.java

index 06882a48943e711e502d725108ee2f0e4147f213..de942b90f8611c3fd01227c0acf6f7740e74dc4e 100644 (file)
@@ -19,7 +19,7 @@ import org.simantics.db.request.Read;
 
 public class QueryCache extends QueryCacheBase {
 
-    private static final boolean SINGLE = false;
+    private static final boolean SINGLE = true;
 
     public QueryCache(QuerySupport querySupport, int threads) {
         super(querySupport, threads);