Fixed - Redisson shutdown exception is thrown during background process of expired Tomcat sessions. #6173

pull/6262/head
Nikita Koksharov 3 months ago
parent 1a3dce1521
commit 58da15d5d0

@ -226,7 +226,8 @@ public class RedissonSessionManager extends ManagerBase {
public void remove(Session session, boolean update) {
super.remove(session, update);
if (session.getIdInternal() != null) {
if (session.getIdInternal() != null
&& !redisson.isShuttingDown()) {
((RedissonSession)session).delete();
}
}

@ -225,8 +225,9 @@ public class RedissonSessionManager extends ManagerBase {
@Override
public void remove(Session session, boolean update) {
super.remove(session, update);
if (session.getIdInternal() != null) {
if (session.getIdInternal() != null
&& !redisson.isShuttingDown()) {
((RedissonSession)session).delete();
}
}

@ -225,8 +225,9 @@ public class RedissonSessionManager extends ManagerBase {
@Override
public void remove(Session session, boolean update) {
super.remove(session, update);
if (session.getIdInternal() != null) {
if (session.getIdInternal() != null
&& !redisson.isShuttingDown()) {
((RedissonSession)session).delete();
}
}

@ -225,8 +225,9 @@ public class RedissonSessionManager extends ManagerBase {
@Override
public void remove(Session session, boolean update) {
super.remove(session, update);
if (session.getIdInternal() != null) {
if (session.getIdInternal() != null
&& !redisson.isShuttingDown()) {
((RedissonSession)session).delete();
}
}

@ -233,8 +233,9 @@ public class RedissonSessionManager extends ManagerBase {
@Override
public void remove(Session session, boolean update) {
super.remove(session, update);
if (session.getIdInternal() != null) {
if (session.getIdInternal() != null
&& !redisson.isShuttingDown()) {
((RedissonSession)session).delete();
}
}

Loading…
Cancel
Save