feat: 添加 lettuce-core 用于连接 redis
All checks were successful
Publish Project / build (push) Successful in 2m43s
All checks were successful
Publish Project / build (push) Successful in 2m43s
This commit is contained in:
@@ -132,6 +132,7 @@ public class HamsterCorePlugin extends JavaPlugin {
|
||||
long start = System.currentTimeMillis();
|
||||
if (CoreAPI.getInstance().isEnableRedis()) {
|
||||
CoreAPI.getInstance().getJedisPool().close();
|
||||
CoreAPI.getInstance().getRedisClient().close();
|
||||
simpleLogger.info("已关闭 Redis 连接池");
|
||||
}
|
||||
if (CoreAPI.getInstance().isEnableDatabase()) {
|
||||
|
Reference in New Issue
Block a user