fix debounce link config changes
All checks were successful
Build and Deploy MITM Webserver / traffic_target (push) Successful in 1s
Build and Deploy MITM Webserver / build (push) Successful in 9s

This commit is contained in:
2026-03-09 16:28:25 +01:00
parent 3f0e3c5400
commit 8efe797220
2 changed files with 47 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ class BackendSettings:
sniffer_thread_join_timeout_seconds: float
bridge_bpf_build_dir: str
bridge_link_state_thread_join_timeout_seconds: float
bridge_link_state_failure_holdoff_seconds: float
bridge_link_state_recovery_holdoff_seconds: float
bridge_link_state_degraded_recheck_seconds: float
telemetry_process_stop_timeout_seconds: float
@@ -93,6 +94,10 @@ def load_settings() -> BackendSettings:
"BACKEND_BRIDGE_LINK_STATE_THREAD_JOIN_TIMEOUT_SECONDS",
2.0,
),
bridge_link_state_failure_holdoff_seconds=_env_float(
"BACKEND_BRIDGE_LINK_STATE_FAILURE_HOLDOFF_SECONDS",
0.75,
),
bridge_link_state_recovery_holdoff_seconds=_env_float(
"BACKEND_BRIDGE_LINK_STATE_RECOVERY_HOLDOFF_SECONDS",
1.0,