From 05ea6980bfda7e9f932b5ffa259fb06dee5b0f04 Mon Sep 17 00:00:00 2001 From: Teamo <785415580@qq.com> Date: Sun, 16 Apr 2023 13:06:58 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20=E4=BF=AE=E6=94=B9lettuce=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E4=BD=BF=E7=94=A8=E5=BC=82=E6=AD=A5=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E6=93=8D=E4=BD=9Credis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/crazycake/shiro/LettuceRedisClusterManager.java | 2 +- .../org/crazycake/shiro/common/AbstractLettuceRedisManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/crazycake/shiro/LettuceRedisClusterManager.java b/src/main/java/org/crazycake/shiro/LettuceRedisClusterManager.java index 640d3fe2..d95d5669 100644 --- a/src/main/java/org/crazycake/shiro/LettuceRedisClusterManager.java +++ b/src/main/java/org/crazycake/shiro/LettuceRedisClusterManager.java @@ -60,7 +60,7 @@ public class LettuceRedisClusterManager implements IRedisManager { /** * Whether to enable async. */ - private boolean isAsync = false; + private boolean isAsync = true; /** * The number of elements returned at every iteration. diff --git a/src/main/java/org/crazycake/shiro/common/AbstractLettuceRedisManager.java b/src/main/java/org/crazycake/shiro/common/AbstractLettuceRedisManager.java index 4b4d17dd..44ac427b 100644 --- a/src/main/java/org/crazycake/shiro/common/AbstractLettuceRedisManager.java +++ b/src/main/java/org/crazycake/shiro/common/AbstractLettuceRedisManager.java @@ -41,7 +41,7 @@ public abstract class AbstractLettuceRedisManager implements IRedisManager { /** * Whether to enable async. */ - private boolean isAsync = false; + private boolean isAsync = true; /** * The number of elements returned at every iteration.