From 31743ed43837f2d9707caadffd1af3a3943a1de8 Mon Sep 17 00:00:00 2001 From: xvrl Date: Fri, 1 Feb 2013 16:14:44 -0800 Subject: [PATCH] defaults + max memcached expiration is 30 days --- .../com/metamx/druid/client/cache/MemcachedCacheConfig.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/main/java/com/metamx/druid/client/cache/MemcachedCacheConfig.java b/client/src/main/java/com/metamx/druid/client/cache/MemcachedCacheConfig.java index c2a277fb72f..2bd7b84e4cc 100644 --- a/client/src/main/java/com/metamx/druid/client/cache/MemcachedCacheConfig.java +++ b/client/src/main/java/com/metamx/druid/client/cache/MemcachedCacheConfig.java @@ -6,7 +6,7 @@ import org.skife.config.Default; public abstract class MemcachedCacheConfig { @Config("${prefix}.expiration") - @Default("31536000") + @Default("2592000") public abstract int getExpiration(); @Config("${prefix}.timeout") @@ -17,8 +17,10 @@ public abstract class MemcachedCacheConfig public abstract String getHosts(); @Config("${prefix}.maxObjectSize") + @Default("52428800") public abstract int getMaxObjectSize(); @Config("${prefix}.memcachedPrefix") + @Default("druid") public abstract String getMemcachedPrefix(); }