Skip to content

Override Gunicorn to use gevent workers - #127

Closed
szachovy wants to merge 1 commit into
masterfrom
fix/80-gunicorn-gevent
Closed

Override Gunicorn to use gevent workers#127
szachovy wants to merge 1 commit into
masterfrom
fix/80-gunicorn-gevent

Conversation

@szachovy

@szachovy szachovy commented Apr 8, 2026

Copy link
Copy Markdown
Owner

Replace default run-server.sh with explicit Gunicorn config: 4 workers, gevent worker class, 120s timeout. Install gevent in the Dockerfile. Gevent async I/O prevents sync worker blocking during concurrent MySQL/Redis I/O.

Closes #80

Replace default run-server.sh with explicit Gunicorn config: 4 workers,
gevent worker class, 120s timeout, forwarded-allow-ips for Nginx proxy.
Install gevent in the Dockerfile. Gevent async I/O prevents sync worker
blocking during concurrent MySQL/Redis I/O operations.

Closes #80

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@szachovy

szachovy commented Apr 9, 2026

Copy link
Copy Markdown
Owner Author

Done in apache/superset run-server.sh, this change is redundant

@szachovy szachovy closed this Apr 9, 2026
@szachovy
szachovy deleted the fix/80-gunicorn-gevent branch April 9, 2026 14:38
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.

AP-1: Override Gunicorn to use gevent workers and increase worker count

1 participant