|
|
|
@ -2125,6 +2125,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
|
|
|
|
|
} catch (InterruptedException e) { |
|
|
|
|
lastCreateError = e; |
|
|
|
|
lastErrorTimeMillis = System.currentTimeMillis(); |
|
|
|
|
DruidDataSource.this.createThreadChange(); |
|
|
|
|
break; |
|
|
|
|
} finally { |
|
|
|
|
lock.unlock(); |
|
|
|
@ -2171,6 +2172,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
|
|
|
|
|
} catch (Error e) { |
|
|
|
|
LOG.error("create connection error", e); |
|
|
|
|
setFailContinuous(true); |
|
|
|
|
DruidDataSource.this.createThreadChange(); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|