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

Stop listeners while stopping the worker #258

Closed
wants to merge 2 commits into from
Closed

Conversation

ludeeus
Copy link
Contributor

@ludeeus ludeeus commented Apr 30, 2024

No description provided.

asyncio.run_coroutine_threadsafe(
self._list_sni.stop(),
loop=self._loop,
).result()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's first stop the SNI connection, so we have less todo at the peer shutdown as it's one <-- many

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are not started, so they cant be stopped.

@ludeeus ludeeus closed this Apr 30, 2024
@ludeeus ludeeus deleted the stop-listeners branch April 30, 2024 07:21
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.

2 participants