Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Oct 10, 2024
1 parent bfe9d9c commit 35f8f9c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions aiohttp/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -938,16 +938,7 @@ async def _resolve_host(
# the underlying lookup or else the cancel event will get broadcast to
# all the waiters across all connections.
#
loop = asyncio.get_running_loop()
coro = self._resolve_host_with_throttle(key, host, port, futures, traces)
#
# If there is no resolution in progress, we need to start one.
#
# In this case we need to create a task to ensure that we can shield
# the task from cancellation as cancelling this lookup should not cancel
# the underlying lookup or else the cancel event will get broadcast to
# all the waiters across all connections.
#
loop = asyncio.get_running_loop()
if sys.version_info >= (3, 12):
# Optimization for Python 3.12, try to send immediately
Expand Down

0 comments on commit 35f8f9c

Please sign in to comment.