MCPcopy Index your code
hub / github.com/idank/explainshell / _closed_loop_worker

Function _closed_loop_worker

tools/loadtest.py:280–290  ·  view source on GitHub ↗
(
    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
280async 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

Callers 1

run_httpFunction · 0.85

Calls 1

_fire_oneFunction · 0.85

Tested by

no test coverage detected