From a8b6b3440649820ed0439801b8a73462d5f5d462 Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Thu, 7 Apr 2022 13:28:35 +0800 Subject: [PATCH] update --- src/main/java/com/yutou/qqbot/utlis/RedisTools.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/yutou/qqbot/utlis/RedisTools.java b/src/main/java/com/yutou/qqbot/utlis/RedisTools.java index b47f471..2808695 100644 --- a/src/main/java/com/yutou/qqbot/utlis/RedisTools.java +++ b/src/main/java/com/yutou/qqbot/utlis/RedisTools.java @@ -190,7 +190,7 @@ public class RedisTools { JedisPoolConfig poolConfig = new JedisPoolConfig(); poolConfig.setMaxIdle(0); poolConfig.setMaxWaitMillis(1000); - JedisPool pool = new JedisPool(poolConfig, host); + JedisPool pool = new JedisPool(); return pool.getResource(); }