Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

start_serving should be False #304

Merged
merged 1 commit into from
Dec 12, 2024
Merged

start_serving should be False #304

merged 1 commit into from
Dec 12, 2024

Conversation

lukehinds
Copy link

According to the docs:

start_serving set to True (default) causes the created server to start accepting connections immediately. When set to False, the user should await Server.start_serving() or
Server.serve_forever() to make the server to start accepting connections.

We call await server.serve_forever() in run_proxy_server so we should allow this command to ditact we are able to accept connections

According to the docs:

start_serving set to True (default) causes the created server to
start accepting connections immediately. When set to False,
the user should await Server.start_serving() or
Server.serve_forever() to make the server to start accepting
connections.

We call `await server.serve_forever()` in `run_proxy_server`
so we should allow this command to ditact we are able to accept
connections
@lukehinds lukehinds merged commit a4327ef into main Dec 12, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant