Commit 782608aa63f7d6cf109d50ad327125225d12ed83
1 parent
c8f7635404
Exists in
master
and in
8 other branches
修改本地超时时间为6个小时
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/session/strategy/LocalCacheSessionStrategy.java
View file @
782608a
... | ... | @@ -38,7 +38,7 @@ |
38 | 38 | private Map<String, LoginContext> localSessionCache = new ConcurrentHashMap<>(); |
39 | 39 | |
40 | 40 | public static Cache<String,LoginContext> cache = CacheBuilder.newBuilder() |
41 | - .expireAfterAccess(30, TimeUnit.MINUTES) | |
41 | + .expireAfterAccess(6, TimeUnit.HOURS) | |
42 | 42 | .build(); |
43 | 43 | |
44 | 44 | @Override |