()
| 20 | times: list[float] = [] |
| 21 | |
| 22 | def call() -> None: |
| 23 | _rate_limit(domain, interval=interval) |
| 24 | times.append(time.monotonic()) |
| 25 | |
| 26 | with ThreadPoolExecutor(max_workers=3) as pool: |
| 27 | list(pool.map(lambda _: call(), range(3))) |
no test coverage detected