mirror of https://github.com/apache/druid.git
defaults + max memcached expiration is 30 days
This commit is contained in:
parent
5f2c3cec1b
commit
31743ed438
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue