fix: 失败账号按间隔重试,请求并发不再占满整段学习
This commit is contained in:
@@ -498,6 +498,10 @@ def _refresh_one(employee_id: str, attempts: int, client_factory) -> None:
|
||||
|
||||
stamp_hours(account, hours)
|
||||
db.commit()
|
||||
if valid is True:
|
||||
from euniv.autostudy import request_wake
|
||||
|
||||
request_wake()
|
||||
if checked_alive:
|
||||
_request_course_sync(employee_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user