(pool)
| 89 | worst_runtime = (pool_timeout + cmd_timeout) * pool_concurrency * 1.2 |
| 90 | |
| 91 | async def worker(pool): |
| 92 | async with pool.acquire(timeout=pool_timeout) as con: |
| 93 | await con.fetch('SELECT pg_sleep($1)', query_runtime) |
| 94 | |
| 95 | def kill_connectivity(): |
| 96 | self.proxy.trigger_connectivity_loss() |