Skip to content

Commit 4bb6a3e

Browse files
Remove preload_app: incompatible with eventlet on PyPy
eventlet monkey-patching fails when the app is preloaded, as modules are already imported before workers can patch them. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 915a0dc commit 4bb6a3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/gunicorn_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
workers = 4
99
threads = 2
1010
timeout = 120
11-
preload_app = True
11+
# Note: preload_app is not compatible with eventlet on PyPy
1212
max_requests = 1000
1313
max_requests_jitter = 50
1414

0 commit comments

Comments
 (0)