From d9ea710e9b91ec0d13d77646d4ebf1fba0e53b59 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Fri, 7 Jul 2023 17:32:01 +0800 Subject: [PATCH] update redis config --- .../src/main/resources/config/application.yml | 28 ++++++++++--------- web/src/main/resources/config/application.yml | 28 ++++++++++--------- 2 files changed, 30 insertions(+), 26 deletions(-) diff --git a/web-api/src/main/resources/config/application.yml b/web-api/src/main/resources/config/application.yml index 30bd0c25..6e93c0a1 100644 --- a/web-api/src/main/resources/config/application.yml +++ b/web-api/src/main/resources/config/application.yml @@ -263,19 +263,21 @@ spring: default-timeout: 30m # # Redis 连接参数 (RedisProperties) -# redis: -# host: 127.0.0.1 -# port: 6379 -# ssl: false -# database: 0 -# password: 1234 -# timeout: 20000 -# lettuce: -# pool: -# # 最大空闲连接数 -# maxIdle: 3 -# # 最大活动连接数 -# maxActive: 20 +# data: +# redis: +# host: 127.0.0.1 +# port: 6379 +# ssl: +# enabled: false +# database: 0 +# password: 1234 +# timeout: 20000 +# lettuce: +# pool: +# # 最大空闲连接数 +# maxIdle: 3 +# # 最大活动连接数 +# maxActive: 20 # # 缓存配置 # cache: diff --git a/web/src/main/resources/config/application.yml b/web/src/main/resources/config/application.yml index 31fabf01..ae3bd17b 100644 --- a/web/src/main/resources/config/application.yml +++ b/web/src/main/resources/config/application.yml @@ -263,19 +263,21 @@ spring: default-timeout: 30m # # Redis 连接参数 (RedisProperties) -# redis: -# host: 127.0.0.1 -# port: 6379 -# ssl: false -# database: 0 -# password: 1234 -# timeout: 20000 -# lettuce: -# pool: -# # 最大空闲连接数 -# maxIdle: 3 -# # 最大活动连接数 -# maxActive: 20 +# data: +# redis: +# host: 127.0.0.1 +# port: 6379 +# ssl: +# enabled: false +# database: 0 +# password: 1234 +# timeout: 20000 +# lettuce: +# pool: +# # 最大空闲连接数 +# maxIdle: 3 +# # 最大活动连接数 +# maxActive: 20 # # 缓存配置 # cache: