|
|
@ -243,8 +243,7 @@ public class ClientConnectionsEntry {
|
|
|
|
freeConnections.add(connection);
|
|
|
|
freeConnections.add(connection);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
connection.decUsage();
|
|
|
|
if (connection.decUsage() == 0 && connection.isPooled()) {
|
|
|
|
if (connection.isPooled() && connection.getUsage() == 0) {
|
|
|
|
|
|
|
|
freeConnections.add(connection);
|
|
|
|
freeConnections.add(connection);
|
|
|
|
connection.setPooled(false);
|
|
|
|
connection.setPooled(false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|