Added tracking of closed session time and expired session cleaner for clients that never reconnects but had clean session flag = false

This commit is contained in:
andsel
2017-10-20 11:48:34 +02:00
parent a49792adf5
commit f7b213a677
18 changed files with 405 additions and 24 deletions
@@ -38,7 +38,7 @@ public final class PerformanceTest {
ISubscriptionsDirectory store = new CTrieSubscriptionDirectory();
MemoryStorageService memStore = new MemoryStorageService(null, null);
ISessionsStore aSessionsStore = memStore.sessionsStore();
SessionsRepository sessionsRepository = new SessionsRepository(aSessionsStore);
SessionsRepository sessionsRepository = new SessionsRepository(aSessionsStore, null);
store.init(sessionsRepository);
int times = 10000;