Actually use the shared inactive session timeout
@@ -45,7 +45,7 @@ public ActiveSessions(long inactiveSessionTimeout, TimeUnit unit) {
};
allSessions = CacheBuilder.newBuilder()
- .expireAfterAccess(10, MINUTES)
+ .expireAfterAccess(inactiveSessionTimeout, unit)
.removalListener(listener)
.build();
}
