1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-08-18 20:45:58 +08:00
Commit Graph

4 Commits

Author SHA1 Message Date
positnuec
1041f44262 Fix: use Happy Eyeballs to enforce total connection timeout in DowntimeFetcher
DowntimeFetcher previously relied on urllib3's default connect path which is serial and unbounded: a stalled DNS or unreachable addresses could hold the fetch far beyond any useful timeout.

HTTPS now routes through an RFC 8305-inspired Happy Eyeballs adapter. It runs IPv6/IPv4 attempts in parallel with a stagger, fast-fails refused addresses, and enforces a single total deadline spanning the whole connect phase (DNS/TCP/TLS).

Connect timeouts are externalized; requests' own connect timeout is disabled, leaving only the read timeout in effect.
2026-08-16 17:06:49 +08:00
positnuec
983bab459a Fix: harden DowntimeFetcher consistency checks, error boundary and fetch lock 2026-08-15 23:38:56 +08:00
positnuec
fbe037322a Refactor: replace independent scheduled DowntimeFetch task with on-demand auto-fetch 2026-07-18 10:20:43 +08:00
positnuec
9cc7aa804b Feat: add module smart_mgmt 2026-07-10 07:25:18 +08:00