-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-112989: asyncio: Reduce overhead to connect sockets with SelectorEventLoop #112991
gh-112989: asyncio: Reduce overhead to connect sockets with SelectorEventLoop #112991
Conversation
…ectorEventLoop _ensure_fd_no_transport had a KeyError in the success path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure.
Thanks! |
Is a backport needed or shall we close the issue? #112989 |
Closed the issue, sorry I forgot to do that. No backport needed unless someone has a high volume of socket connection and requests it. For Home Assistant we ship our own python w/patches so its not urgent for us. |
…ectorEventLoop (python#112991) _ensure_fd_no_transport had a KeyError in the success path
…ectorEventLoop (python#112991) _ensure_fd_no_transport had a KeyError in the success path
_ensure_fd_no_transport
had aKeyError
in the success path. It can be replaced with a simpledict.get
The performance profile is similar to previous discussion #106527 (comment)