Skip to content

Commit

Permalink
ATS-31
Browse files Browse the repository at this point in the history
  • Loading branch information
madness-inc committed Dec 13, 2021
1 parent 4d6dade commit e162c2d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -216,7 +216,7 @@ public void save(Session session) throws IOException {
((DirtyFlagSession) session).writeObjectData(oos);
String site = Utils.getSiteName(session.getSession());
SessionData sessionData = new SessionData(session.getId(), site, bos.toByteArray());
getSessions().put(session.getId(), sessionData, session.getMaxInactiveInterval(), TimeUnit.SECONDS);
getSessions().set(session.getId(), sessionData, session.getMaxInactiveInterval(), TimeUnit.SECONDS);
log.debug("saved: " + sessionData + " with TTL of " + session.getMaxInactiveInterval() + " seconds");
} finally {
if (lockOnSave) {
Expand Down

0 comments on commit e162c2d

Please sign in to comment.