mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
two minute timeout
This commit is contained in:
parent
0a1685931c
commit
e62f06cc54
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ public class UserManager {
|
||||||
|
|
||||||
private void checkExpired() {
|
private void checkExpired() {
|
||||||
Calendar expired = Calendar.getInstance();
|
Calendar expired = Calendar.getInstance();
|
||||||
expired.add(Calendar.MINUTE, -1) ;
|
expired.add(Calendar.MINUTE, -2) ;
|
||||||
for (User user: users.values()) {
|
for (User user: users.values()) {
|
||||||
if (user.isExpired(expired.getTime())) {
|
if (user.isExpired(expired.getTime())) {
|
||||||
logger.info("user session expired " + user.getId());
|
logger.info("user session expired " + user.getId());
|
||||||
|
|
Loading…
Reference in a new issue