We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f594f3b commit d14b299Copy full SHA for d14b299
1 file changed
src/domain_fronter.py
@@ -914,8 +914,8 @@ async def _keepalive_loop(self):
914
log.debug("Keepalive failed: %s", e)
915
916
async def _do_warm(self):
917
- """Open WARM_POOL_COUNTnnections in parallel — failures are fine."""
918
- count = 30
+ """Open WARM_POOL_COUNT connections in parallel — failures are fine."""
+ count = WARM_POOL_COUNT
919
coros = [self._add_conn_to_pool() for _ in range(count)]
920
results = await asyncio.gather(*coros, return_exceptions=True)
921
opened = sum(1 for r in results if not isinstance(r, Exception))
0 commit comments