We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bdc954 commit b488041Copy full SHA for b488041
1 file changed
src/main/java/eu/openanalytics/containerproxy/service/session/redis/RedisSessionService.java
@@ -90,8 +90,10 @@ public Integer getActiveUsersCount() {
90
91
@Override
92
public void reActivateSession(String sessionId) {
93
- Session session = redisIndexedSessionRepository.findById(sessionId);//l.setLastAccessedTime
94
- session.setLastAccessedTime(Instant.now());
+ Session session = redisIndexedSessionRepository.findById(sessionId);
+ if (session != null) {
95
+ session.setLastAccessedTime(Instant.now());
96
+ }
97
}
98
99
0 commit comments