mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-07-01 12:57:26 +00:00
[Fix][Update] CacheStore-redis, Core 修复缓存组件的逻辑问题, 调整 Core 中对于 CacheStoreBuilder 的测试用例;
[Fix] CacheStoreBuilder 修复 Factory.canGetCacheStore 返回 false 被无视的问题; [Fix] RedisConnectionPool 修复因变量未及时更新导致的逻辑异常; [Update] CacheStoreBuilderTest 调整测试用例以更具体的检查获取的缓存实现类与预期是否相同;
This commit is contained in:
@ -85,6 +85,7 @@ class RedisConnectionPool {
|
||||
JedisPool jedisPool = POOL.get();
|
||||
if (jedisPool == null || jedisPool.isClosed()) {
|
||||
reconnectRedis();
|
||||
jedisPool = POOL.get();
|
||||
if (jedisPool == null || jedisPool.isClosed()) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user