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(); }