Closed moshiul-rabbi-seera closed 2 months ago
Hi @moshiul-rabbi-seera, thanks for the info, checking this issue now.
Thanks Bilal
Hi @moshiul-rabbi-seera, The "setMinEvictableIdleTime" exist in class BaseObjectPoolConfig
Many thanks @chillaq. Its due to commons-pool2 library version.
public class JedisPoolConfig extends GenericObjectPoolConfig {
public JedisPoolConfig() {
this.setTestWhileIdle(true);
this.setMinEvictableIdleTime(Duration.ofMillis(60000L));
this.setTimeBetweenEvictionRuns(Duration.ofMillis(30000L));
this.setNumTestsPerEvictionRun(-1);
}
}