-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Open
Labels
status: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtype: enhancementA general enhancementA general enhancement
Milestone
Description
spring-boot version: 2.7.7
When the timeout period is set on the redis server, the client needs to perform connection timeout detection in time. However, the configuration provided in the current spring-boot-autoconfigure is incomplete:
org.springframework.boot.autoconfigure.data.redis.JedisConnectionConfiguration#jedisPoolConfig
org.springframework.boot.autoconfigure.data.redis.RedisProperties.Pool
I expect to be able to inject the following configuration automatically
org.apache.commons.pool2.impl.BaseObjectPoolConfig#durationBetweenEvictionRuns
org.apache.commons.pool2.impl.BaseObjectPoolConfig#minEvictableIdleDuration
org.apache.commons.pool2.impl.BaseObjectPoolConfig#numTestsPerEvictionRun
org.apache.commons.pool2.impl.BaseObjectPoolConfig#testOnBorrow
In addition to durationBetweenEvictionRuns
, three other key configuration does not support automatic injection.
Now that you can inject durationBetweenEvictionRuns
automatically, then the other three configuration is also should be automatic injection
DavyJones2010
Metadata
Metadata
Assignees
Labels
status: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtype: enhancementA general enhancementA general enhancement