用户缓存时间修改

back_recharge
duhui 2023-02-20 21:11:48 +08:00
parent c94426724e
commit 174202bf61
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public class UserManager {
private static Map<Integer,Long> userMapPutTime = new ConcurrentHashMap<>(); //离线读入
private static AtomicInteger login_f_num = new AtomicInteger(0);//登陆计数
private static final int LOGIN_F_LIMIT = 100;//报警界限
private static final long LIVE_TIME = 10 * 60 * 1000L;
private static final long LIVE_TIME = 3 * 60 * 60 * 1000L;
public static void addUser(User user) {
userMap.put(user.getId(), user);