Skip to content
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

fix(src): Close connections to API clients when shutting down #219

Merged
merged 2 commits into from
Dec 26, 2024

Conversation

aleasto
Copy link
Contributor

@aleasto aleasto commented Oct 11, 2024

This effectively re-implements asyncio.Server::close_clients which is only available in python3.13.

In python3.12 asyncio.Server::wait_closed will hang unless these sockets are closed: python/cpython#104344

christgau and others added 2 commits December 23, 2024 23:49
This effectively re-implements asyncio.Server::close_clients which
is only available in python3.13.

In python3.12 asyncio.Server::wait_closed will hang unless these
sockets are closed: python/cpython#104344

Co-authored-by: Steffen Christgau <[email protected]>
@christgau christgau merged commit 147c903 into christgau:master Dec 26, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

asyncio.Server.wait_closed() appears to hang indefinitely in 3.12.0a7
2 participants