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>
This commit is contained in:
Razvan Dimescu
2026-03-22 19:36:03 +02:00
parent d261e8bc86
commit 4c58ff49b0
2 changed files with 9 additions and 6 deletions

2
Cargo.lock generated
View File

@@ -932,7 +932,7 @@ dependencies = [
[[package]]
name = "numa"
version = "0.3.0"
version = "0.3.1"
dependencies = [
"axum",
"env_logger",