From 233b63199c413dbf91c51006ccd4e28ed35d2ed9 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 22 Sep 2021 11:52:09 +0200 Subject: [PATCH] Polish "Clarify pooling is implicitly enabled in Sentinel mode" See gh-27891 --- .../boot/autoconfigure/data/redis/RedisProperties.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 76898c9a8f9..d61f578a9ff 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,8 +235,8 @@ public class RedisProperties { /** * Whether to enable the pool. Enabled automatically if "commons-pool2" is - * available.This setting only applies to Jedis when using non-sentinel mode and - * that pooling is implicitly enabled in sentinel mode. + * available. With Jedis, pooling is implicitly enabled in sentinel mode and this + * setting only applies to single node setup. */ private Boolean enabled;