Skip to content

Commit

Permalink
Merge pull request #5883 from seakider/fix_connection_release
Browse files Browse the repository at this point in the history
Fixed - releaseConnection may not execute correctly
  • Loading branch information
mrniko committed May 20, 2024
2 parents f0b08cb + df46410 commit 54a3a09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected void releaseConnection(CompletableFuture<R> attemptPromise, Completabl
if (RedisCommands.EXEC.getName().equals(command.getName())
|| RedisCommands.DISCARD.getName().equals(command.getName())) {
if (attempt < attempts
&& attemptPromise.isCompletedExceptionally()) {
&& attemptPromise.isCancelled()) {
return;
}

Expand Down

0 comments on commit 54a3a09

Please sign in to comment.