test bridge state recovery
All checks were successful
Build and Deploy MITM Webserver / traffic_target (push) Successful in 1s
Build and Deploy MITM Webserver / build (push) Successful in 10s

This commit is contained in:
2026-03-09 16:02:47 +01:00
parent 665c0b4475
commit 6534f2c4fa
2 changed files with 17 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ class BackendSettings:
bridge_bpf_build_dir: str
bridge_link_state_thread_join_timeout_seconds: float
bridge_link_state_recovery_holdoff_seconds: float
bridge_link_state_degraded_recheck_seconds: float
telemetry_process_stop_timeout_seconds: float
telemetry_reader_join_timeout_seconds: float
tshark_enabled: bool
@@ -96,6 +97,10 @@ def load_settings() -> BackendSettings:
"BACKEND_BRIDGE_LINK_STATE_RECOVERY_HOLDOFF_SECONDS",
1.0,
),
bridge_link_state_degraded_recheck_seconds=_env_float(
"BACKEND_BRIDGE_LINK_STATE_DEGRADED_RECHECK_SECONDS",
0.5,
),
telemetry_process_stop_timeout_seconds=_env_float("BACKEND_TELEMETRY_PROCESS_STOP_TIMEOUT_SECONDS", 3.0),
telemetry_reader_join_timeout_seconds=_env_float("BACKEND_TELEMETRY_READER_JOIN_TIMEOUT_SECONDS", 2.0),
tshark_enabled=_env_bool("BACKEND_TSHARK_ENABLED", True),