|
@@ -807,10 +807,9 @@ class PoolRecall(object):
|
|
|
key_name = f"{key_prefix}{self.rule_key}.{redis_date}.{redis_h}"
|
|
|
# 判断当前时间是否晚于数据正常更新时间,发送消息到飞书
|
|
|
now_m = datetime.now().minute
|
|
|
- feishu_text = '{} —— appType = {}, h = {} 数据未按时更新,请及时查看解决。'.format(
|
|
|
- config_.ENV_TEXT, self.app_type, h)
|
|
|
- if now_m > config_.ROV_H_UPDATE_MINUTE and \
|
|
|
- self.ab_code not in [code for _, code in config_.AB_CODE['region_rank_by_h'].items()]:
|
|
|
+ feishu_text = '{} —— appType = {}, h = {}, key = {} 数据未按时更新,请及时查看解决。'.format(
|
|
|
+ config_.ENV_TEXT, self.app_type, h, key_name)
|
|
|
+ if now_m > config_.ROV_H_UPDATE_MINUTE:
|
|
|
send_msg_to_feishu(feishu_text)
|
|
|
return key_name, redis_h
|
|
|
|