Browse Source

close rov pool recall send msg to feishu

liqian 2 years ago
parent
commit
7ca937dc17
1 changed files with 4 additions and 4 deletions
  1. 4 4
      video_recall.py

+ 4 - 4
video_recall.py

@@ -637,10 +637,10 @@ class PoolRecall(object):
                 now_h = datetime.now().hour
                 now_m = datetime.now().minute
                 feishu_text = '{} —— 今日ROV召回池数据未按时更新,请及时查看解决。'.format(config_.ENV_TEXT)
-                if now_h == config_.ROV_UPDATE_H + 1 and now_m > config_.ROV_UPDATE_MINUTE:
-                    send_msg_to_feishu(feishu_text)
-                elif now_h > config_.ROV_UPDATE_H + 2:
-                    send_msg_to_feishu(feishu_text)
+                # if now_h == config_.ROV_UPDATE_H + 1 and now_m > config_.ROV_UPDATE_MINUTE:
+                #     send_msg_to_feishu(feishu_text)
+                # elif now_h > config_.ROV_UPDATE_H + 2:
+                #     send_msg_to_feishu(feishu_text)
 
             return key_name, redis_date