File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,8 @@ async def is_cn_contest_data_ready(
138138 us_user_num := us_data .get ("user_num" )
139139 )
140140 logger .info (f"check { cn_user_num = } { us_user_num = } { is_satisfied = } " )
141+ if is_satisfied :
142+ await save_user_num (contest_name )
141143 return is_satisfied
142144 else :
143145 logger .info (f"check { fallback_local = } unsatisfied" )
Original file line number Diff line number Diff line change 1717from app .handler .contest import (
1818 is_cn_contest_data_ready ,
1919 save_recent_and_next_two_contests ,
20- save_user_num ,
2120)
2221from app .handler .contest_record import (
2322 save_archive_contest_records ,
@@ -84,7 +83,6 @@ async def composed_predict_jobs(
8483 await save_archive_contest_records (
8584 contest_name = contest_name , data_region = "CN" , save_users = False
8685 )
87- await save_user_num (contest_name )
8886
8987
9088async def pre_save_predict_users (contest_name : str ) -> None :
You can’t perform that action at this time.
0 commit comments