@@ -67,7 +67,7 @@ public class UpmsConfig {
/**
* 异步导出限制个数(全局)
*/
- private Integer asyncExportLimit = 3;
+ private Integer asyncExportLimit = 2;
* 异步导出重试间隔时间(固定时间的退避策略)
@@ -73,7 +73,7 @@ public final class RedisUtils {
// 设置key的过期时间,避免计数器无限增长
if (increment != null && increment.equals(1L)) {
- redisTemplate.expire(key, 30, TimeUnit.MINUTES);
+ redisTemplate.expire(key, 15, TimeUnit.MINUTES);
}
// 检查是否超过限流阈值