Connection leak fixed. #338

pull/365/head
Nikita 9 years ago
parent b70dd92b6d
commit 4c897806f6

@ -505,7 +505,7 @@ public class CommandAsyncService implements CommandAsyncExecutor {
}
private <V, R> void releaseConnection(NodeSource source, AsyncDetails<V, R> details, RedisConnection connection) {
if (details.getAttemptPromise().isCancelled()) {
if (!details.getConnectionFuture().isSuccess()) {
return;
}

Loading…
Cancel
Save