From ac1a0cd3de96262459f8a1e18fcea43ad8bd49c3 Mon Sep 17 00:00:00 2001 From: Gary Date: Thu, 7 Mar 2024 07:53:35 +0800 Subject: [PATCH] 1.disable l2 cache --- luoo_comment/src/main/resources/bootstrap.yml | 2 +- luoo_music/src/main/resources/bootstrap.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/luoo_comment/src/main/resources/bootstrap.yml b/luoo_comment/src/main/resources/bootstrap.yml index c718333..520850e 100644 --- a/luoo_comment/src/main/resources/bootstrap.yml +++ b/luoo_comment/src/main/resources/bootstrap.yml @@ -16,7 +16,7 @@ j2cache: # 缓存中不存在时,运行缓存空对象 allowNullValues: true redisClient: lettuce - l2CacheOpen: true + l2CacheOpen: false serialization: json sync_ttl_to_redis: true # 一级缓存使用caffeine diff --git a/luoo_music/src/main/resources/bootstrap.yml b/luoo_music/src/main/resources/bootstrap.yml index a051078..2b67e71 100644 --- a/luoo_music/src/main/resources/bootstrap.yml +++ b/luoo_music/src/main/resources/bootstrap.yml @@ -19,7 +19,7 @@ j2cache: # 缓存中不存在时,运行缓存空对象 allowNullValues: true redisClient: lettuce - l2CacheOpen: true + l2CacheOpen: false serialization: json sync_ttl_to_redis: true # 一级缓存使用caffeine