Skip to content

Commit

Permalink
Revert "fix issues:#5620"
Browse files Browse the repository at this point in the history
This reverts commit 65797bc.
  • Loading branch information
lizongbo authored Dec 17, 2023
1 parent 65797bc commit f2af5c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3252,7 +3252,7 @@ public void shrink(boolean checkTime, boolean keepAlive) {
final long currentTimeMillis = System.currentTimeMillis();
int size = connections.size();
for (int i = 0; i < size; ++i) {
DruidConnectionHolder connection = connections.pollFirst();
DruidConnectionHolder connection = connections.pollLast();

if ((onFatalError || fatalErrorIncrement > 0) && (lastFatalErrorTimeMillis
> connection.connectTimeMillis)) {
Expand Down

0 comments on commit f2af5c8

Please sign in to comment.