diff --git a/Makefile.local b/Makefile.local --- a/Makefile.local +++ b/Makefile.local @@ -55,9 +55,11 @@ run-django-server-prod: run-migrations-prod clear-memcached python3 swh/web/manage.py runserver --nostatic --settings=swh.web.settings.production -run-gunicorn-server: run-migrations clear-memcached +run-gunicorn-server: run-migrations-prod clear-memcached DJANGO_SETTINGS_MODULE=swh.web.settings.production \ - gunicorn3 -b 127.0.0.1:5004 'django.core.wsgi:get_wsgi_application()' + gunicorn --bind 127.0.0.1:5004 \ + --threads 2 \ + --workers 2 'django.core.wsgi:get_wsgi_application()' run-django-webpack-memory-storages: build-webpack-dev run-migrations python3 swh/web/manage.py runserver --nostatic --settings=swh.web.settings.tests