From 997b942a27595001a8ba82e74a48c1b9c7dc8365 Mon Sep 17 00:00:00 2001 From: LamGC Date: Fri, 15 Jan 2021 20:20:02 +0800 Subject: [PATCH] =?UTF-8?q?[Change]=20CacheStore-Redis=20=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E9=80=9A=E9=85=8D=E7=AC=A6=E5=B8=B8=E9=87=8F=E7=9A=84?= =?UTF-8?q?=E5=BC=95=E7=94=A8;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Change] RedisUtils 调整 'CACHE_KEY_ALL' 的通配符为 'KEY_PATTERN_ALL'; --- .../src/main/java/net/lamgc/cgj/bot/cache/redis/RedisUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ContentGrabbingJi-CacheStore-redis/src/main/java/net/lamgc/cgj/bot/cache/redis/RedisUtils.java b/ContentGrabbingJi-CacheStore-redis/src/main/java/net/lamgc/cgj/bot/cache/redis/RedisUtils.java index 470e3f1..4dc350c 100644 --- a/ContentGrabbingJi-CacheStore-redis/src/main/java/net/lamgc/cgj/bot/cache/redis/RedisUtils.java +++ b/ContentGrabbingJi-CacheStore-redis/src/main/java/net/lamgc/cgj/bot/cache/redis/RedisUtils.java @@ -42,7 +42,7 @@ public class RedisUtils { /** * 特殊缓存键 - 所有 Key. */ - public final static CacheKey CACHE_KEY_ALL = new CacheKey("*"); + public final static CacheKey CACHE_KEY_ALL = new CacheKey(KEY_PATTERN_ALL); /** * Key 分隔符