Merge pull request #5883 from seakider/fix_connection_release

Fixed - releaseConnection may not execute correctly
pull/5898/head
Nikita Koksharov 9 months ago committed by GitHub
commit 54a3a09b57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -99,7 +99,7 @@ public class RedisQueuedBatchExecutor<V, R> extends BaseRedisBatchExecutor<V, R>
if (RedisCommands.EXEC.getName().equals(command.getName())
|| RedisCommands.DISCARD.getName().equals(command.getName())) {
if (attempt < attempts
&& attemptPromise.isCompletedExceptionally()) {
&& attemptPromise.isCancelled()) {
return;
}

Loading…
Cancel
Save