Skip to content

Commit

Permalink
Merge pull request #481 from Ladicek/fix-cluster-connection-completion
Browse files Browse the repository at this point in the history
fix RedisClusterConnection completion
  • Loading branch information
Ladicek authored Oct 21, 2024
2 parents 3ccfc19 + f9168e3 commit 5c874ae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ void send(String endpoint, int retries, Request command, Completable<Response> h
}

try {
handler.succeed(send.result());
handler.complete(send.result(), send.cause());
} catch (RuntimeException e) {
LOG.error("Handler failure", e);
}
Expand Down Expand Up @@ -534,7 +534,7 @@ private void batch(String endpoint, int retries, List<Request> commands, Complet
}

try {
handler.succeed(send.result());
handler.complete(send.result(), send.cause());
} catch (RuntimeException e) {
LOG.error("Handler failure", e);
}
Expand Down

0 comments on commit 5c874ae

Please sign in to comment.