455476 - Persist updated session expiry time for MongoSessionManager
This commit is contained in:
parent
fc42d5d4aa
commit
56b528145f
|
@ -271,7 +271,7 @@ public class MongoSessionManager extends NoSqlSessionManager
|
|||
if (currentMaxIdle != null && getMaxInactiveInterval() > 0 && getMaxInactiveInterval() < currentMaxIdle)
|
||||
sets.put(__MAX_IDLE, getMaxInactiveInterval());
|
||||
if (currentExpiry != null && expiry > 0 && expiry != currentExpiry)
|
||||
sets.put(__EXPIRY, currentExpiry);
|
||||
sets.put(__EXPIRY, expiry);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue