diff --git a/src/registrar/config/settings.py b/src/registrar/config/settings.py index 3107661b9..18b680e0d 100644 --- a/src/registrar/config/settings.py +++ b/src/registrar/config/settings.py @@ -192,11 +192,12 @@ WSGI_APPLICATION = "registrar.config.wsgi.application" # For a low to medium traffic site, caching causes more # problems than it solves. Should caching be desired, # a reasonable start might be: -# CACHES = { -# "default": { -# "BACKEND": "django.core.cache.backends.db.DatabaseCache", -# } -# } +CACHES = { + "default": { + "BACKEND": "django.core.cache.backends.db.DatabaseCache", + "LOCATION": "cache_table", + } +} # Absolute path to the directory where `collectstatic` # will place static files for deployment. diff --git a/src/run.sh b/src/run.sh index 1d35cd617..0228f143f 100755 --- a/src/run.sh +++ b/src/run.sh @@ -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