git-svn-id: http://code.alibabatech.com/svn/druid/trunk@590 b9813039-fb51-4c41-a8b9-e21c2acb5095

This commit is contained in:
wenshao
2011-09-02 16:55:17 +00:00
parent b1682b1eef
commit 58c340b269
@@ -632,9 +632,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
continue;
}
if ((poolingCount == 0 && minIdle == 0) || lock.getWaitQueueLength(notEmpty) > 0) {
// not wait
} else if (poolingCount >= minIdle) {
if (poolingCount >= minIdle) {
lowWater.await();
continue;
}