Reduce network change detection to 5s #10

Merged
razvandimescu merged 1 commits from fix/fast-network-detect into main 2026-03-23 03:47:25 +08:00

1 Commits

Author SHA1 Message Date
Razvan Dimescu
1bf11190d5 reduce network change detection to 5s with tiered polling
LAN IP checked every 5s (cheap UDP socket call). Full upstream
re-detection runs every 30s as safety net, or immediately when
LAN IP changes. Reduces worst-case network switch recovery from
30s to 5s.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 19:36:03 +02:00