Skip to content

Commit

Permalink
Enhanced fix for #5855
Browse files Browse the repository at this point in the history
Fix from review
  • Loading branch information
gregw committed Jan 7, 2021
1 parent 3dc9e63 commit 6d3ea41
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -475,12 +475,12 @@ public void succeeded(Connection connection)
{
if (LOG.isDebugEnabled())
LOG.debug("Connection creation succeeded {}: {}", reserved, connection);
pending.decrementAndGet();
if (connection instanceof Attachable)
{
((Attachable)connection).setAttachment(reserved);
onCreated(connection);

pending.decrementAndGet();
reserved.enable(connection, false);
idle(connection, false);
complete(null);
Expand Down

0 comments on commit 6d3ea41

Please sign in to comment.