diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisProperties.java index df525d60de..76898c9a8f 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisProperties.java @@ -235,7 +235,8 @@ public class RedisProperties { /** * Whether to enable the pool. Enabled automatically if "commons-pool2" is - * available. + * available.This setting only applies to Jedis when using non-sentinel mode and + * that pooling is implicitly enabled in sentinel mode. */ private Boolean enabled;