mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-30 06:37:36 +00:00
[Fix] 修复Prefix不会自动补充前缀分隔符的问题;
This commit is contained in:
parent
2d8652c8bc
commit
ddf9473326
@ -23,7 +23,7 @@ public abstract class RedisPoolCacheStore<T> implements CacheStore<T> {
|
|||||||
redisServerUri.getPort() <= 0 ? 6379 : redisServerUri.getPort(),
|
redisServerUri.getPort() <= 0 ? 6379 : redisServerUri.getPort(),
|
||||||
timeout <= 0 ? Protocol.DEFAULT_TIMEOUT : timeout, password);
|
timeout <= 0 ? Protocol.DEFAULT_TIMEOUT : timeout, password);
|
||||||
log = LoggerFactory.getLogger("RedisPoolCacheStore@" + Integer.toHexString(jedisPool.hashCode()));
|
log = LoggerFactory.getLogger("RedisPoolCacheStore@" + Integer.toHexString(jedisPool.hashCode()));
|
||||||
this.keyPrefix = prefix;
|
this.keyPrefix = prefix.endsWith(".") ? prefix : prefix + ".";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user