From 5d105e75982c88ffc958ef9de14266ae8522a0f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Thu, 24 Apr 2014 17:13:04 -0700 Subject: [PATCH] fix stupid cache config bug --- server/src/main/java/io/druid/client/CachingQueryRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/io/druid/client/CachingQueryRunner.java b/server/src/main/java/io/druid/client/CachingQueryRunner.java index d92db6415fb..ad2718e6a45 100644 --- a/server/src/main/java/io/druid/client/CachingQueryRunner.java +++ b/server/src/main/java/io/druid/client/CachingQueryRunner.java @@ -82,7 +82,7 @@ public class CachingQueryRunner implements QueryRunner final boolean useCache = query.getContextUseCache(true) && strategy != null - && cacheConfig.isPopulateCache(); + && cacheConfig.isUseCache(); final Cache.NamedKey key; if(strategy != null && (useCache || populateCache)) {