Jelajahi Sumber

Merge branch 'feature_2023110219_liqian_ad_threshold_auto_update' into test

liqian 1 tahun lalu
induk
melakukan
355e40e840
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      ad_threshold_auto_update.py

+ 3 - 3
ad_threshold_auto_update.py

@@ -302,9 +302,9 @@ def timer_check():
         now_min = datetime.datetime.now().minute
         log_.info(f"now_date: {datetime.datetime.strftime(now_date, '%Y%m%d%H')}")
 
-        # 00:00 - 08:00 不做阈值参数调整
-        if 0 <= now_h < 8:
-            log_.info(f"00:00 - 08:00 不做阈值参数调整")
+        # 00:00 - 09:00 不做阈值参数调整
+        if 0 <= now_h < 9:
+            log_.info(f"00:00 - 09:00 不做阈值参数调整")
             return
 
         # 管理后台获取开启自动调整阈值开关的目标uv值