mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +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() {
|
||||
Calendar expired = Calendar.getInstance();
|
||||
expired.add(Calendar.MINUTE, -1) ;
|
||||
expired.add(Calendar.MINUTE, -2) ;
|
||||
for (User user: users.values()) {
|
||||
if (user.isExpired(expired.getTime())) {
|
||||
logger.info("user session expired " + user.getId());
|
||||
|
|
Loading…
Reference in a new issue