Commit af5e9ffc93ac7d13cb7684cb3e0ec9034e1b9fd2
1 parent
f616167b31
Exists in
master
and in
6 other branches
update
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 @
af5e9ff
| ... | ... | @@ -42,7 +42,7 @@ |
| 42 | 42 | private Map<String, LoginContext> localSessionCache = new ConcurrentHashMap<>(); |
| 43 | 43 | |
| 44 | 44 | public static Cache<String, LoginContext> cache = CacheBuilder.newBuilder() |
| 45 | - .expireAfterAccess(6, TimeUnit.HOURS) | |
| 45 | + .expireAfterAccess(20, TimeUnit.HOURS) | |
| 46 | 46 | .build(); |
| 47 | 47 | |
| 48 | 48 | @Override |