fix: 代理池为空时在学习状态里写明正在直连
This commit is contained in:
@@ -386,6 +386,8 @@ def _job_from_account(row) -> tuple | None:
|
||||
pool = uses_pool(row)
|
||||
try:
|
||||
proxy = bind_url(row)
|
||||
if pool and not proxy and employee_id:
|
||||
_set_user_status(employee_id, message="正在直连")
|
||||
except Exception as exc:
|
||||
log.warning("用户 %s 凭据无法读取: %s", employee_id, exc)
|
||||
if employee_id:
|
||||
|
||||
Reference in New Issue
Block a user