two minute timeout

This commit is contained in:
Loki 2012-05-04 18:42:37 +04:00
parent 0a1685931c
commit e62f06cc54

View file

@ -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());