Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ylinzhu committed Oct 29, 2024
1 parent 371dbdd commit 6cfb037
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ private void longIdleHeartBeat(ConcurrentLinkedQueue<BackendConnection> linkedQu
break;
} else if (con.isClosed()) {
continue;
} else if (!con.isBorrowed()) { //if the connection is idle for a long time
} else if (con.getLastTime() < hearBeatTime) { //if the connection is idle for a long time
con.setBorrowed(true);
new ConnectionHeartBeatHandler().doHeartBeat(con);
} else {
Expand Down

0 comments on commit 6cfb037

Please sign in to comment.