Reduce DB connection leaks

This commit is contained in:
Eliot Berriot 2019-10-17 14:39:06 +02:00
parent bd3a4b4406
commit 28b334ad33
No known key found for this signature in database
GPG key ID: 6B501DFD73514E14
4 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,3 @@
#!/bin/bash -eux
python /app/manage.py collectstatic --noinput
gunicorn config.asgi:application -w ${FUNKWHALE_WEB_WORKERS-1} -k uvicorn.workers.UvicornWorker -b 0.0.0.0:5000
gunicorn config.asgi:application -w ${FUNKWHALE_WEB_WORKERS-1} -k uvicorn.workers.UvicornWorker -b 0.0.0.0:5000 ${GUNICORN_ARGS-}