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

This commit is contained in:
wenshao
2011-09-04 15:47:09 +00:00
parent 1b88dd036c
commit f3707be513
@@ -536,6 +536,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
notEmpty.await(); // signal by recycle or creator
if (!enable) {
connectErrorCount++;
throw new DataSourceDisableException();
}
}
@@ -566,6 +567,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
estimate = notEmpty.awaitNanos(estimate); // signal by recycle or creator
if (!enable) {
connectErrorCount++;
throw new DataSourceDisableException();
}
} catch (InterruptedException ie) {