[FIX] Увеличен таймаут сессий до 3 часов

This commit is contained in:
Gravit 2019-03-23 10:40:05 +07:00
parent 0c5227b5ab
commit 75f69a3234
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -8,7 +8,7 @@
public class SessionManager implements NeedGarbageCollection { public class SessionManager implements NeedGarbageCollection {
public static final long SESSION_TIMEOUT = 10 * 60 * 1000; // 10 минут public static final long SESSION_TIMEOUT = 3 * 60 * 60 * 1000; // 3 часа
public static final boolean GARBAGE_SERVER = Boolean.parseBoolean(System.getProperty("launcher.garbageSessionsServer", "false")); public static final boolean GARBAGE_SERVER = Boolean.parseBoolean(System.getProperty("launcher.garbageSessionsServer", "false"));
private HashSet<Client> clientSet = new HashSet<>(128); private HashSet<Client> clientSet = new HashSet<>(128);