Skip to content

Commit 233b631

Browse files
committed
Polish "Clarify pooling is implicitly enabled in Sentinel mode"
See gh-27891
1 parent d39b7cc commit 233b631

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ public static class Pool {
235235

236236
/**
237237
* Whether to enable the pool. Enabled automatically if "commons-pool2" is
238-
* available.This setting only applies to Jedis when using non-sentinel mode and
239-
* that pooling is implicitly enabled in sentinel mode.
238+
* available. With Jedis, pooling is implicitly enabled in sentinel mode and this
239+
* setting only applies to single node setup.
240240
*/
241241
private Boolean enabled;
242242

0 commit comments

Comments
 (0)