User Cache expires avery 15 minutes
This commit is contained in:
parent
f06002302c
commit
1c64d870f0
|
@ -30,7 +30,7 @@ public abstract class CKANUserCache {
|
|||
|
||||
userCacheConfiguration = new MutableConfiguration<String,CKANUser>().setTypes(String.class, CKANUser.class)
|
||||
.setStoreByValue(false)
|
||||
.setExpiryPolicyFactory(CreatedExpiryPolicy.factoryOf(new Duration(TimeUnit.MINUTES, 1)));
|
||||
.setExpiryPolicyFactory(CreatedExpiryPolicy.factoryOf(new Duration(TimeUnit.MINUTES, 15)));
|
||||
|
||||
userCachePerCkanInstance = new HashMap<String,Cache<String,CKANUser>>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue