Add reproducible observability cost modes and external measurements

This commit is contained in:
Artyom
2026-11-06 21:22:38 +03:00
parent 20e7759f87
commit 202b985dea
16 changed files with 624 additions and 8 deletions
@@ -5,6 +5,7 @@ from messenger.shared.config import Settings
class TransportSettings(Settings):
docs: bool = False
cost_experiment: bool = False
max_body_bytes: int = Field(default=1_048_576, ge=4_096)
request_timeout_seconds: float = Field(default=8.0, gt=0, le=300)
min_transfer_rate_bytes: int = Field(default=131_072, ge=1_024)