mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for keepAlive
This commit is contained in:
@@ -2981,7 +2981,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
|
||||
try {
|
||||
discardCount++;
|
||||
|
||||
if (activeCount <= minIdle) {
|
||||
if (activeCount + poolingCount <= minIdle) {
|
||||
emptySignal();
|
||||
}
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user