fix: 失败账号按间隔重试,请求并发不再占满整段学习
This commit is contained in:
@@ -433,6 +433,9 @@ def post_study_control(body: StudyControlBody, request: Request, db: Session = D
|
||||
|
||||
halt_work(employee_id)
|
||||
else:
|
||||
from euniv.autostudy import clear_study_hold
|
||||
|
||||
clear_study_hold(employee_id)
|
||||
start_now(account)
|
||||
db.commit()
|
||||
sync_work(employee_id)
|
||||
|
||||
Reference in New Issue
Block a user