Fixed - RedisExecutor throws "Failed to submit a listener notification task" error during shutdown. #6147

pull/6151/head
Nikita Koksharov 5 months ago
parent 837a26b5c4
commit 0669a43b45

@ -174,6 +174,12 @@ public class RedisExecutor<V, R> {
return;
}
if (connectionManager.getServiceManager().isShuttingDown()) {
exception = new RedissonShutdownException("Redisson is shutdown");
tryComplete(attemptPromise, exception);
return;
}
if (connectionFuture.isDone() && connectionFuture.isCompletedExceptionally()) {
exception = convertException(connectionFuture);
tryComplete(attemptPromise, exception);

Loading…
Cancel
Save