Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
-
f99b8153
by Tony Chemit at 2022-02-19T17:16:10+01:00
1 changed file:
Changes:
| ... | ... | @@ -49,7 +49,6 @@ public class ObserveWebSecuritySessionCache implements Closeable { |
| 49 | 49 | |
| 50 | 50 | public ObserveWebSecuritySessionCache(int expireDelay) {
|
| 51 | 51 | this.sessionCache = CacheBuilder.newBuilder()
|
| 52 | - .expireAfterWrite(expireDelay, TimeUnit.MINUTES)
|
|
| 53 | 52 | .expireAfterAccess(expireDelay, TimeUnit.MINUTES)
|
| 54 | 53 | .removalListener((RemovalListener<String, ObserveWebUserSession>) notification -> log.info(String.format("Remove session: %s - %s", notification.getKey(), notification.getValue())))
|
| 55 | 54 | .build();
|