(n)
| 432 | delay_connection(monkeypatch, 0.1) |
| 433 | |
| 434 | async def worker(n): |
| 435 | t0 = time() |
| 436 | async with p.connection() as conn: |
| 437 | await conn.execute("select 1 from pg_sleep(0.25)") |
| 438 | t1 = time() |
| 439 | results.append((n, t1 - t0)) |
| 440 | |
| 441 | async with pool.AsyncConnectionPool( |
| 442 | dsn, min_size=min_size, max_size=4, num_workers=3 |