Bug fixes and added redis sentinel supportability changes.

pull/27/head
Ranjith Manickam 2018-12-04 01:14:16 +05:30
parent c4f205cb51
commit 2b09e15466
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import java.util.concurrent.ConcurrentHashMap;
public class StandardDataCache extends RedisCache {
private Date lastSessionJobRun;
private final Map<String, SessionData> sessionData = new ConcurrentHashMap<>();
private final Map<String, SessionData> sessionData;
private final long sessionExpiryTime;
@ -22,6 +22,7 @@ public class StandardDataCache extends RedisCache {
super(properties);
this.sessionExpiryTime = (sessionExpiryTime + 60) / 60;
this.lastSessionJobRun = new Date();
this.sessionData = new ConcurrentHashMap<>();
}
/** {@inheritDoc} */