Default valid keys cache for 24 hours
This commit is contained in:
parent
9d217608b2
commit
87bcaabad5
@ -32,7 +32,7 @@ public class KvUtils {
|
|||||||
static {
|
static {
|
||||||
validatedKeys = Caffeine.newBuilder()
|
validatedKeys = Caffeine.newBuilder()
|
||||||
.weakKeys()
|
.weakKeys()
|
||||||
.expireAfterAccess(60, TimeUnit.MINUTES)
|
.expireAfterAccess(24, TimeUnit.HOURS)
|
||||||
.maximumSize(100000).build();
|
.maximumSize(100000).build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user