mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Fixes #4195 again
This commit is contained in:
@@ -2164,7 +2164,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
|
||||
}
|
||||
|
||||
boolean putLast(DruidConnectionHolder e, long lastActiveTimeMillis) {
|
||||
if (poolingCount >= maxActive || e.discard || this.closed) {
|
||||
if (poolingCount >= maxActive || e.discard || this.closed || this.closing) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user