Commit e706c54e by 毛树良

[chg]:统计处理速度key,保留时间由2天改为15天

1 parent 0fe2891b
......@@ -22,7 +22,7 @@ public class SpeedStatService {
key = key + ":" + DateUtil.formatYYYYMMDD(now);
String field = DateUtil.formatYYYYMMDDHHMM(now);
redisTemplate.opsForHash().increment(key, field, number);
redisTemplate.expire(key, 2L, TimeUnit.DAYS);
redisTemplate.expire(key, 15L, TimeUnit.DAYS);
} catch (Exception e) {
log.error("统计处理速度异常:{}", e.getMessage(), e);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!