From: Antti Villberg Date: Tue, 10 Sep 2019 08:42:47 +0000 (+0300) Subject: Try to read queries from cache also in cases where cache is not written X-Git-Tag: v1.43.0~136^2~72^2 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=e6460ba5ef792d369dbab427ffc8cf05f2cbcd0e;p=simantics%2Fplatform.git Try to read queries from cache also in cases where cache is not written gitlab #320 Change-Id: I4446238b8998f592df710b2992ba3c2cc6fe0bee --- diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCache.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCache.java index 06882a489..de942b90f 100644 --- a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCache.java +++ b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCache.java @@ -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);