mirror of https://github.com/apache/druid.git
fix stupid cache config bug
This commit is contained in:
parent
5e98275251
commit
5d105e7598
|
@ -82,7 +82,7 @@ public class CachingQueryRunner<T> implements QueryRunner<T>
|
||||||
|
|
||||||
final boolean useCache = query.getContextUseCache(true)
|
final boolean useCache = query.getContextUseCache(true)
|
||||||
&& strategy != null
|
&& strategy != null
|
||||||
&& cacheConfig.isPopulateCache();
|
&& cacheConfig.isUseCache();
|
||||||
|
|
||||||
final Cache.NamedKey key;
|
final Cache.NamedKey key;
|
||||||
if(strategy != null && (useCache || populateCache)) {
|
if(strategy != null && (useCache || populateCache)) {
|
||||||
|
|
Loading…
Reference in New Issue