From 447b74aa88fcecccdb7f102fcb39dc00aec26172 Mon Sep 17 00:00:00 2001 From: shimingxy Date: Fri, 6 Feb 2026 15:40:50 +0800 Subject: [PATCH] rename initPool --- .../maxkey/persistence/redis/RedisConnectionFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maxkey-commons/maxkey-cache/src/main/java/org/dromara/maxkey/persistence/redis/RedisConnectionFactory.java b/maxkey-commons/maxkey-cache/src/main/java/org/dromara/maxkey/persistence/redis/RedisConnectionFactory.java index c1a581993..126be2d27 100644 --- a/maxkey-commons/maxkey-cache/src/main/java/org/dromara/maxkey/persistence/redis/RedisConnectionFactory.java +++ b/maxkey-commons/maxkey-cache/src/main/java/org/dromara/maxkey/persistence/redis/RedisConnectionFactory.java @@ -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 .");