update redis config

This commit is contained in:
thinkgem
2023-07-07 17:32:01 +08:00
parent 3271bb3afc
commit d9ea710e9b
2 changed files with 30 additions and 26 deletions

View File

@@ -263,19 +263,21 @@ spring:
default-timeout: 30m default-timeout: 30m
# # Redis 连接参数 RedisProperties # # Redis 连接参数 RedisProperties
# redis: # data:
# host: 127.0.0.1 # redis:
# port: 6379 # host: 127.0.0.1
# ssl: false # port: 6379
# database: 0 # ssl:
# password: 1234 # enabled: false
# timeout: 20000 # database: 0
# lettuce: # password: 1234
# pool: # timeout: 20000
# # 最大空闲连接数 # lettuce:
# maxIdle: 3 # pool:
# # 最大活动连接数 # # 最大空闲连接数
# maxActive: 20 # maxIdle: 3
# # 最大活动连接数
# maxActive: 20
# # 缓存配置 # # 缓存配置
# cache: # cache:

View File

@@ -263,19 +263,21 @@ spring:
default-timeout: 30m default-timeout: 30m
# # Redis 连接参数 RedisProperties # # Redis 连接参数 RedisProperties
# redis: # data:
# host: 127.0.0.1 # redis:
# port: 6379 # host: 127.0.0.1
# ssl: false # port: 6379
# database: 0 # ssl:
# password: 1234 # enabled: false
# timeout: 20000 # database: 0
# lettuce: # password: 1234
# pool: # timeout: 20000
# # 最大空闲连接数 # lettuce:
# maxIdle: 3 # pool:
# # 最大活动连接数 # # 最大空闲连接数
# maxActive: 20 # maxIdle: 3
# # 最大活动连接数
# maxActive: 20
# # 缓存配置 # # 缓存配置
# cache: # cache: