From e6460ba5ef792d369dbab427ffc8cf05f2cbcd0e Mon Sep 17 00:00:00 2001 From: Antti Villberg Date: Tue, 10 Sep 2019 11:42:47 +0300 Subject: [PATCH] Try to read queries from cache also in cases where cache is not written gitlab #320 Change-Id: I4446238b8998f592df710b2992ba3c2cc6fe0bee --- .../src/org/simantics/db/impl/query/QueryCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.1