mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-14 04:22:08 +08:00
rename initPool
This commit is contained in:
@@ -40,7 +40,7 @@ public class RedisConnectionFactory {
|
||||
|
||||
}
|
||||
|
||||
public void initConnectionFactory() {
|
||||
public void initPool() {
|
||||
if (jedisPool == null) {
|
||||
_logger.debug("init Jedis Pool .");
|
||||
try {
|
||||
@@ -67,7 +67,7 @@ public class RedisConnectionFactory {
|
||||
}
|
||||
|
||||
public synchronized RedisConnection getConnection() {
|
||||
initConnectionFactory();
|
||||
initPool();
|
||||
_logger.trace("get connection .");
|
||||
RedisConnection redisConnection = new RedisConnection(this);
|
||||
_logger.trace("return connection .");
|
||||
|
||||
Reference in New Issue
Block a user