Cache 30 MINUTES

This commit is contained in:
MaxKey
2021-11-14 12:48:16 +08:00
parent cf5aaf251a
commit 5cbc8049dc
4 changed files with 53 additions and 49 deletions

View File

@@ -60,7 +60,7 @@ public class JdbcClientDetailsService implements ClientDetailsService, ClientReg
protected final static Cache<String, ClientDetails> clientDetailsCache =
Caffeine.newBuilder()
.expireAfterWrite(60, TimeUnit.MINUTES)
.expireAfterWrite(30, TimeUnit.MINUTES)
.maximumSize(200000)
.build();