Skip to content

Conversation

@anuraaga
Copy link
Collaborator

@anuraaga anuraaga commented Nov 18, 2025

And tweaks gunicorn

@anuraaga anuraaga marked this pull request as draft November 18, 2025 07:27
@anuraaga anuraaga force-pushed the pyvoy-wsgi-streaming branch from c047329 to d5b0571 Compare November 18, 2025 08:44
Signed-off-by: Anuraag Agrawal <[email protected]>
Signed-off-by: Anuraag Agrawal <[email protected]>
@anuraaga anuraaga force-pushed the pyvoy-wsgi-streaming branch from 9c04be0 to 356f7a8 Compare November 18, 2025 10:06
Signed-off-by: Anuraag Agrawal <[email protected]>
@anuraaga anuraaga marked this pull request as ready for review November 18, 2025 10:58
port_future: asyncio.Future[int],
):
args = ["--bind=127.0.0.1:0", "--threads=40", "--reuse-port"]
args = [
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Since updating conformance to have connection reuse, gunicorn would have some flakes. A bit disappointed since the vanguard has been so robust otherwise, but doing some research it seems a lot of settings assume nginx in front of gunicorn.

Through some random selection I got these settings to pass CI 3 times, but if anyone happens to know gunicorn better happy to hear any thoughts.

"pytest-cov==7.0.0",
"pytest-timeout==2.4.0",
"pyvoy==0.1.1; sys_platform != 'win32'",
"pyvoy==0.1.2; sys_platform != 'win32'",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed an issue that could sporadically hang with WSGI

@anuraaga anuraaga merged commit 483bbf1 into connectrpc:main Nov 19, 2025
58 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.

3 participants