Skip to content

Commit 3f23b92

Browse files
committed
Clarify when a connection pool is created for Redis
Closes gh-26733
1 parent 7e4defb commit 3f23b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4295,8 +4295,8 @@ TIP: You can also register an arbitrary number of beans that implement `LettuceC
42954295
If you use Jedis, `JedisClientConfigurationBuilderCustomizer` is also available.
42964296

42974297
If you add your own `@Bean` of any of the auto-configured types, it replaces the default (except in the case of `RedisTemplate`, when the exclusion is based on the bean name, `redisTemplate`, not its type).
4298-
By default, if `commons-pool2` is on the classpath, you get a pooled connection factory.
42994298

4299+
A pooled connection factory is auto-configured if `commons-pool2` is on the classpath and at least one `Pool` option of {spring-boot-autoconfigure-module-code}/data/redis/RedisProperties.java[`RedisProperties`] is set.
43004300

43014301

43024302
[[boot-features-mongodb]]

0 commit comments

Comments
 (0)