From 0334c84e17facce9b7ee5aac94514af155b9e12c Mon Sep 17 00:00:00 2001 From: wangqing <408564126@qq.com> Date: Fri, 8 Mar 2024 17:05:40 +0800 Subject: [PATCH] fix: update redis config --- luoo_comment/src/main/resources/bootstrap.yml | 3 +-- luoo_music/src/main/resources/bootstrap.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/luoo_comment/src/main/resources/bootstrap.yml b/luoo_comment/src/main/resources/bootstrap.yml index 6c638ad..df71fa5 100644 --- a/luoo_comment/src/main/resources/bootstrap.yml +++ b/luoo_comment/src/main/resources/bootstrap.yml @@ -9,8 +9,7 @@ spring: redis: # 地址, 多个地址使用‘,’逗号分割 - hosts: ${spring.redis.host} - port: ${spring.redis.port} + hosts: ${spring.redis.host}:${spring.redis.port} password: ${spring.redis.password} j2cache: diff --git a/luoo_music/src/main/resources/bootstrap.yml b/luoo_music/src/main/resources/bootstrap.yml index c6db6c4..76aac3e 100644 --- a/luoo_music/src/main/resources/bootstrap.yml +++ b/luoo_music/src/main/resources/bootstrap.yml @@ -12,8 +12,7 @@ spring: max-request-size: 200MB redis: # 地址, 多个地址使用‘,’逗号分割 - hosts: ${spring.redis.host} - port: ${spring.redis.port} + hosts: ${spring.redis.host}:${spring.redis.port} password: ${spring.redis.password} j2cache: openSpringCache: true