Skip to content

Commit c1bc262

Browse files
committed
feat: replace gunicorn worker with gthread
The meinheld worker seems to be unmaintained and it doesn't work with gunicorn's reload mechanism.
1 parent e4c28be commit c1bc262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -eu
33
if [ ${MODE:-""} == "development" ]; then
44
if [ -f /app/requirements.txt ]; then pip install -r /app/requirements.txt; fi
5-
exec gunicorn -k --reload egg:meinheld#gunicorn_worker -c "$GUNICORN_CONF" "$APP_MODULE"
5+
exec gunicorn -k --reload gthread -c "$GUNICORN_CONF" "$APP_MODULE"
66
else
7-
exec gunicorn -k egg:meinheld#gunicorn_worker -c "$GUNICORN_CONF" "$APP_MODULE"
7+
exec gunicorn -k gthread -c "$GUNICORN_CONF" "$APP_MODULE"
88
fi

0 commit comments

Comments
 (0)