mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix #4896
This commit is contained in:
@@ -776,11 +776,6 @@ public abstract class DruidAbstractDataSource extends WrapperAdapter implements
|
||||
if (keepAliveBetweenTimeMillis < 1000 * 30) {
|
||||
LOG.error("keepAliveBetweenTimeMillis should be greater than 30000");
|
||||
}
|
||||
|
||||
if (keepAliveBetweenTimeMillis <= timeBetweenEvictionRunsMillis) {
|
||||
LOG.warn("keepAliveBetweenTimeMillis should be greater than timeBetweenEvictionRunsMillis");
|
||||
}
|
||||
|
||||
this.keepAliveBetweenTimeMillis = keepAliveBetweenTimeMillis;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user