fix: 补齐审查清单里还没落地的交互和代理复测

This commit is contained in:
2026-11-16 16:17:31 +08:00
parent 58b3dedb2a
commit 50a8ae2e27
19 changed files with 444 additions and 192 deletions
+3 -3
View File
@@ -201,7 +201,7 @@ def _fetch_and_store(trigger: str) -> bool:
password = decrypt_secret(account.password_cipher)
credential = json.loads(decrypt_secret(account.credential_cipher))
from euniv.proxy import bind_url, is_proxy_failure, uses_pool
from euniv.proxy_pool import MAX_SWITCHES, mark_failed
from euniv.proxy_pool import MAX_SWITCHES, retire_if_dead
proxy = bind_url(account)
courses = None
@@ -219,8 +219,8 @@ def _fetch_and_store(trigger: str) -> bool:
except Exception as exc:
last_exc = exc
if uses_pool(account) and proxy and is_proxy_failure(exc):
mark_failed(employee_id, proxy, str(exc)[:200])
proxy = bind_url(account)
if retire_if_dead(employee_id, proxy, str(exc)[:200]):
proxy = bind_url(account)
continue
_cool_failed_sync(employee_id)
return False