Skip to content

Commit d39b7cc

Browse files
weixsunsnicoll
authored andcommitted
Clarify pooling is implicitly enabled in Sentinel mode
See gh-27891
1 parent 842f3f0 commit d39b7cc

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

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

236236
/**
237237
* Whether to enable the pool. Enabled automatically if "commons-pool2" is
238-
* available.
238+
* available.This setting only applies to Jedis when using non-sentinel mode and
239+
* that pooling is implicitly enabled in sentinel mode.
239240
*/
240241
private Boolean enabled;
241242

0 commit comments

Comments
 (0)