defaults + max memcached expiration is 30 days

This commit is contained in:
xvrl 2013-02-01 16:14:44 -08:00
parent 5f2c3cec1b
commit 31743ed438
1 changed files with 3 additions and 1 deletions

View File

@ -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();
}