Skip to content

fix gunicorn in prod mode#5521

Merged
adhami3310 merged 2 commits into
mainfrom
lendemor/gunicorn_prod_fix
Jul 3, 2025
Merged

fix gunicorn in prod mode#5521
adhami3310 merged 2 commits into
mainfrom
lendemor/gunicorn_prod_fix

Conversation

@Lendemor
Copy link
Copy Markdown
Contributor

@Lendemor Lendemor commented Jul 2, 2025

No description provided.

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Added Uvicorn worker class specification to gunicorn configuration for proper ASGI application handling in production mode on non-Windows systems.

  • Modified reflex/utils/exec.py to include --worker-class uvicorn.workers.UvicornWorker parameter, enabling proper WebSocket and async operation support in production environments

1 file reviewed, no comments
Edit PR Review Bot Settings | Greptile

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Jul 2, 2025

CodSpeed Performance Report

Merging #5521 will not alter performance

Comparing lendemor/gunicorn_prod_fix (7733d33) with main (a83ce0c)

Summary

✅ 8 untouched benchmarks

Comment thread reflex/utils/exec.py Outdated
@adhami3310 adhami3310 merged commit 898c446 into main Jul 3, 2025
41 checks passed
@adhami3310 adhami3310 deleted the lendemor/gunicorn_prod_fix branch July 3, 2025 01:43
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