update
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user