Commit a7d997a6 authored by michael.simon's avatar michael.simon
Browse files

change roleCache expire time

parent 2de3bb62
......@@ -36,7 +36,7 @@ public class RoleCache {
cache = CacheBuilder.newBuilder()
.concurrencyLevel(4)
.maximumSize(1000)
.expireAfterWrite(1, TimeUnit.MINUTES)
.expireAfterWrite(5, TimeUnit.MINUTES)
.removalListener(removalListener)
.build(cacheLoader);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment