These are properties that can be configured for the Jedis connection pool used by the Spring Redis integration.

spring.redis.jedis.pool.max-active specifies the maximum number of active connections that can be allocated from the pool at the same time. If this limit is reached, subsequent requests for connections will block until a connection is available.

spring.redis.jedis.pool.max-idle specifies the maximum number of idle connections that can be held in the pool. Idle connections are connections that are still open but not currently being used. If the number of idle connections exceeds this limit, excess connections will be closed and removed from the pool.

Configuring these properties can help optimize the usage and performance of the Redis connection pool, depending on the specific needs of the application

springredisjedispoolmax-active springredisjedispoolmax-idle

原文地址: https://www.cveoy.top/t/topic/fFZx 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录