liqian il y a 3 ans
Parent
commit
855d9449b5
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      video_recall.py

+ 2 - 1
video_recall.py

@@ -809,7 +809,8 @@ class PoolRecall(object):
                     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:
+                    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()]:
                         send_msg_to_feishu(feishu_text)
                     return key_name, redis_h