mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for "timeBetweenEvictionRunsMillis > keepAliveBetweenTimeMillis"
This commit is contained in:
@@ -790,6 +790,10 @@ public abstract class DruidAbstractDataSource extends WrapperAdapter implements
|
||||
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