try overload fix 2, backend upsert and test script fix
This commit is contained in:
@@ -43,6 +43,7 @@ class BackendSettings:
|
||||
packet_tracker_retention_seconds: float
|
||||
packet_tracker_min_flush_interval_seconds: float
|
||||
packet_tracker_persist_timeout_seconds: float
|
||||
packet_tracker_batch_persist_timeout_seconds: float
|
||||
packet_tracker_persist_retry_backoff_seconds: float
|
||||
packet_tracker_persist_retry_backoff_max_seconds: float
|
||||
packet_tracker_error_log_interval_seconds: float
|
||||
@@ -89,6 +90,10 @@ def load_settings() -> BackendSettings:
|
||||
packet_tracker_retention_seconds=_env_float("BACKEND_PACKET_TRACKER_RETENTION_SECONDS", 10.0),
|
||||
packet_tracker_min_flush_interval_seconds=_env_float("BACKEND_PACKET_TRACKER_MIN_FLUSH_INTERVAL_SECONDS", 0.05),
|
||||
packet_tracker_persist_timeout_seconds=_env_float("BACKEND_PACKET_TRACKER_PERSIST_TIMEOUT_SECONDS", 2.0),
|
||||
packet_tracker_batch_persist_timeout_seconds=_env_float(
|
||||
"BACKEND_PACKET_TRACKER_BATCH_PERSIST_TIMEOUT_SECONDS",
|
||||
10.0,
|
||||
),
|
||||
packet_tracker_persist_retry_backoff_seconds=_env_float(
|
||||
"BACKEND_PACKET_TRACKER_PERSIST_RETRY_BACKOFF_SECONDS",
|
||||
0.25,
|
||||
|
||||
Reference in New Issue
Block a user