From d39b7cc46d3751fcb77d6c7d749cf737b97943bf Mon Sep 17 00:00:00 2001 From: weixsun Date: Wed, 8 Sep 2021 16:57:48 +0800 Subject: [PATCH] Clarify pooling is implicitly enabled in Sentinel mode See gh-27891 --- .../boot/autoconfigure/data/redis/RedisProperties.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;