Function
_closed_loop_worker
(
session,
url: str,
rng: random.Random,
results: list[Result],
test_start: float,
stop_at: float,
simple_ratio: float,
)
Source from the content-addressed store, hash-verified
| 278 | |
| 279 | |
| 280 | async def _closed_loop_worker( |
| 281 | session, |
| 282 | url: str, |
| 283 | rng: random.Random, |
| 284 | results: list[Result], |
| 285 | test_start: float, |
| 286 | stop_at: float, |
| 287 | simple_ratio: float, |
| 288 | ) -> None: |
| 289 | while time.monotonic() < stop_at: |
| 290 | await _fire_one(session, url, rng, results, test_start, simple_ratio) |
| 291 | |
| 292 | |
| 293 | @dataclass |
Tested by
no test coverage detected