Skip to content

Commit 8b828a4

Browse files
committed
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
2 parents 842f3f0 + 233b631 commit 8b828a4

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. With Jedis, pooling is implicitly enabled in sentinel mode and this
239+
* setting only applies to single node setup.
239240
*/
240241
private Boolean enabled;
241242

0 commit comments

Comments
 (0)