build: move worker to different process

This commit is contained in:
pablohashescobar 2022-12-09 21:09:54 +05:30
parent b081c36a97
commit 9afe196024
6 changed files with 36 additions and 122 deletions

View file

@ -2,5 +2,4 @@
set -e
python manage.py migrate
python manage.py rqworker &
exec gunicorn plane.wsgi -k gthread --workers 8 --bind 0.0.0.0:8000 --config gunicorn.config.py --max-requests 10000 --max-requests-jitter 1000 --access-logfile -