|
@@ -257,6 +257,7 @@ def h_timer_check():
|
|
|
f"rule_h_status: {rule_h_status}, region_h_status: {region_h_status}")
|
|
|
if rule_24h_status == '1' and region_24h_status == '1' and rule_h_status == '1' and region_h_status == '1':
|
|
|
dup_task(now_date, now_h, region_code_list, rule_rank_h_flag, rule_params)
|
|
|
+ log_.info(f"recommend region data dup end!")
|
|
|
else:
|
|
|
# 数据未更新好,1分钟后重新检查
|
|
|
Timer(60, h_timer_check).start()
|
|
@@ -271,7 +272,7 @@ def h_timer_check():
|
|
|
f"traceback: {traceback.format_exc()}"
|
|
|
)
|
|
|
|
|
|
+
|
|
|
if __name__ == '__main__':
|
|
|
log_.info(f"recommend region data dup start...")
|
|
|
h_timer_check()
|
|
|
- log_.info(f"recommend region data dup end!")
|