|
|
@ -96,7 +96,7 @@ public class RedisConfiguration {
|
|
|
|
* redis集群配置 yml
|
|
|
|
* redis集群配置 yml
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* --- # redis 集群配置(单机与集群只能开启一个另一个需要注释掉)
|
|
|
|
* --- # redis 集群配置(单机与集群只能开启一个另一个需要注释掉)
|
|
|
|
* spring:
|
|
|
|
* spring.data:
|
|
|
|
* redis:
|
|
|
|
* redis:
|
|
|
|
* cluster:
|
|
|
|
* cluster:
|
|
|
|
* nodes:
|
|
|
|
* nodes:
|
|
|
@ -108,7 +108,7 @@ public class RedisConfiguration {
|
|
|
|
* # 连接超时时间
|
|
|
|
* # 连接超时时间
|
|
|
|
* timeout: 10s
|
|
|
|
* timeout: 10s
|
|
|
|
* # 是否开启ssl
|
|
|
|
* # 是否开启ssl
|
|
|
|
* ssl: false
|
|
|
|
* ssl.enabled: false
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* redisson:
|
|
|
|
* redisson:
|
|
|
|
* # 线程池数量
|
|
|
|
* # 线程池数量
|
|
|
|