Commit d92c56b5 by 墨竹

feat:加好友dingding报警,时间延长

parent 2fd5ef3e
...@@ -108,7 +108,7 @@ public class CheckQywxSettingApiServiceImpl implements CheckQywxSettingApiServic ...@@ -108,7 +108,7 @@ public class CheckQywxSettingApiServiceImpl implements CheckQywxSettingApiServic
titleSub = StringUtils.isBlank(titleSub) ? "加好友异常" : titleSub; titleSub = StringUtils.isBlank(titleSub) ? "加好友异常" : titleSub;
String key = ALERT_KEY + wxEnterpriseId; String key = ALERT_KEY + wxEnterpriseId;
RBucket<Object> bucket = RedisUtil.getRedisClient().getBucket(key); RBucket<Object> bucket = RedisUtil.getRedisClient().getBucket(key);
boolean b = bucket.trySet(1, 60L, TimeUnit.SECONDS); boolean b = bucket.trySet(1, 2L, TimeUnit.HOURS);
if (!b) { if (!b) {
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment