tshark test 6
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 10s

This commit is contained in:
2026-03-07 20:20:25 +01:00
parent e81def5295
commit 8de4c880b0
6 changed files with 59 additions and 20 deletions

View File

@@ -56,6 +56,7 @@ class BackendSettings:
telemetry_reader_join_timeout_seconds: float
tshark_enabled: bool
tshark_display_filter: str
tshark_try_heuristic_first: bool
tshark_cache_ttl_seconds: float
tshark_match_window_ms: int
tshark_reader_join_timeout_seconds: float
@@ -89,6 +90,7 @@ def load_settings() -> BackendSettings:
telemetry_reader_join_timeout_seconds=_env_float("BACKEND_TELEMETRY_READER_JOIN_TIMEOUT_SECONDS", 2.0),
tshark_enabled=_env_bool("BACKEND_TSHARK_ENABLED", True),
tshark_display_filter=_env_str("BACKEND_TSHARK_DISPLAY_FILTER", ""),
tshark_try_heuristic_first=_env_bool("BACKEND_TSHARK_TRY_HEURISTIC_FIRST", True),
tshark_cache_ttl_seconds=_env_float("BACKEND_TSHARK_CACHE_TTL_SECONDS", 5.0),
tshark_match_window_ms=_env_int("BACKEND_TSHARK_MATCH_WINDOW_MS", 5_000),
tshark_reader_join_timeout_seconds=_env_float("BACKEND_TSHARK_READER_JOIN_TIMEOUT_SECONDS", 2.0),