test better shutdown nfstream
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s

This commit is contained in:
2026-03-07 18:23:28 +01:00
parent 01f9f6b5bd
commit 9fc2079e86
3 changed files with 12 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ class BackendSettings:
nfstream_active_timeout_seconds: int
nfstream_snapshot_length: int
nfstream_n_dissections: int
nfstream_n_meters: int
nfstream_cache_ttl_seconds: float
nfstream_lookup_window_ms: int
nfstream_reader_join_timeout_seconds: float
@@ -97,6 +98,7 @@ def load_settings() -> BackendSettings:
nfstream_active_timeout_seconds=_env_int("BACKEND_NFSTREAM_ACTIVE_TIMEOUT_SECONDS", 1800),
nfstream_snapshot_length=_env_int("BACKEND_NFSTREAM_SNAPSHOT_LENGTH", 1536),
nfstream_n_dissections=_env_int("BACKEND_NFSTREAM_N_DISSECTIONS", 20),
nfstream_n_meters=_env_int("BACKEND_NFSTREAM_N_METERS", 1),
nfstream_cache_ttl_seconds=_env_float("BACKEND_NFSTREAM_CACHE_TTL_SECONDS", 10.0),
nfstream_lookup_window_ms=_env_int("BACKEND_NFSTREAM_LOOKUP_WINDOW_MS", 5_000),
nfstream_reader_join_timeout_seconds=_env_float("BACKEND_NFSTREAM_READER_JOIN_TIMEOUT_SECONDS", 2.0),