mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
+1
@@ -42,6 +42,7 @@ public class DruidSpringAopConfiguration {
|
||||
}
|
||||
|
||||
@Bean
|
||||
@ConditionalOnProperty(name = "spring.aop.auto",havingValue = "false")
|
||||
public DefaultAdvisorAutoProxyCreator advisorAutoProxyCreator() {
|
||||
DefaultAdvisorAutoProxyCreator advisorAutoProxyCreator = new DefaultAdvisorAutoProxyCreator();
|
||||
advisorAutoProxyCreator.setProxyTargetClass(true);
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<packaging>jar</packaging>
|
||||
<name>druid</name>
|
||||
<description>An JDBC datasource implementation.</description>
|
||||
<description>A JDBC datasource implementation.</description>
|
||||
<url>https://github.com/alibaba/druid</url>
|
||||
<inceptionYear>2013</inceptionYear>
|
||||
|
||||
|
||||
@@ -795,7 +795,7 @@ public abstract class DruidAbstractDataSource extends WrapperAdapter implements
|
||||
LOG.error("maxEvictableIdleTimeMillis should be greater than 30000");
|
||||
}
|
||||
|
||||
if (maxEvictableIdleTimeMillis < minEvictableIdleTimeMillis) {
|
||||
if (inited && maxEvictableIdleTimeMillis < minEvictableIdleTimeMillis) {
|
||||
throw new IllegalArgumentException("maxEvictableIdleTimeMillis must be grater than minEvictableIdleTimeMillis");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user