Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit c7bb945

Browse files
committed
Revert "Use granian instead of gunicorn"
This reverts commit 42753a0.
1 parent 42753a0 commit c7bb945

File tree

3 files changed

+31
-147
lines changed

3 files changed

+31
-147
lines changed

meta/docker/_/bin/venue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ function start-app {
2323
VENUE_THREADS="${VENUE_THREADS:-1}"
2424
VENUE_PORT_PREFIX="${VENUE_PORT_PREFIX:-}"
2525
export PYTHONPATH="/app/src"
26-
exec /app/.venv/bin/granian \
27-
--interface wsgi \
26+
exec /app/.venv/bin/python -m gunicorn \
2827
venue_django.wsgi:application \
29-
--host="0.0.0.0" \
30-
--port="${VENUE_PORT_PREFIX}81" \
28+
--enable-stdio-inheritance \
29+
--bind="0.0.0.0:${VENUE_PORT_PREFIX}81" \
30+
--preload \
3131
--workers "${VENUE_WORKERS}" \
32-
--blocking-threads "${VENUE_THREADS}"
32+
--threads "${VENUE_THREADS}"
3333
}
3434

3535
function start-proxy {

poetry.lock

Lines changed: 25 additions & 141 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ psycopg = { extras = ["binary"], version = "^3.1.19" }
1313
pillow = "^11.0.0"
1414
django-prose-editor = { extras = ["sanitize"], version = "^0.8.1" }
1515
django-constance = "^4.1.1"
16-
granian = "^2.5.0"
16+
gunicorn = "^23.0.0"

0 commit comments

Comments
 (0)