From: Tuukka Lehtonen Date: Tue, 10 Sep 2019 12:56:00 +0000 (+0000) Subject: Merge "Try to read queries from cache also in cases where cache is not written" X-Git-Tag: v1.43.0~136^2~72 X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=497f90316cb17b5bbd8f8b72af3ab3bb6582a902;hp=0abba200fdda34f8a51d3a452c505c09db146c97 Merge "Try to read queries from cache also in cases where cache is not written" --- 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);