mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-10-14 06:00:23 +00:00
fix 修复 dubbo 官方 redis 插件 代码错误 ttl单位使用错误
This commit is contained in:
@@ -67,7 +67,7 @@ public class RedisMetadataReport extends AbstractMetadataReport {
|
||||
this.root = url.getGroup(DEFAULT_ROOT);
|
||||
if (url.getParameter(CYCLE_REPORT_KEY, DEFAULT_METADATA_REPORT_CYCLE_REPORT)) {
|
||||
// ttl default is twice the cycle-report time
|
||||
jedisParams.ex(ONE_DAY_IN_MILLISECONDS * 2);
|
||||
jedisParams.px(ONE_DAY_IN_MILLISECONDS * 2);
|
||||
}
|
||||
if (url.getParameter(CLUSTER_KEY, false)) {
|
||||
jedisClusterNodes = new HashSet<>();
|
||||
|
Reference in New Issue
Block a user