Browse Source

Merge pull request #27891 from weixsun

* pr/27891:
  Polish "Clarify pooling is implicitly enabled in Sentinel mode"
  Clarify pooling is implicitly enabled in Sentinel mode

Closes gh-27891
pull/28102/head
Stephane Nicoll 4 years ago
parent
commit
8b828a49d5
  1. 3
      spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisProperties.java

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

@ -235,7 +235,8 @@ public class RedisProperties { @@ -235,7 +235,8 @@ public class RedisProperties {
/**
* Whether to enable the pool. Enabled automatically if "commons-pool2" is
* available.
* available. With Jedis, pooling is implicitly enabled in sentinel mode and this
* setting only applies to single node setup.
*/
private Boolean enabled;

Loading…
Cancel
Save