dbcache and multiple gunicorn workers

This commit is contained in:
David Kennedy 2024-03-06 07:07:00 -05:00
parent a4568a89ba
commit d1a1992ced
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
2 changed files with 7 additions and 6 deletions

View file

@ -6,4 +6,4 @@ set -o pipefail
# Make sure that django's `collectstatic` has been run locally before pushing up to any environment,
# so that the styles and static assets to show up correctly on any environment.
gunicorn --worker-class=gevent registrar.config.wsgi -t 60
gunicorn --workers=3 --worker-class=gevent registrar.config.wsgi -t 60