Replace gunicorn with uwsgi, use persistent db connections #90

Merged
Oleg-Komarov merged 3 commits from asgi-to-wsgi into main 2024-04-25 15:11:09 +02:00
Showing only changes of commit c1aa9ad681 - Show all commits

View File

@ -120,6 +120,7 @@ WSGI_APPLICATION = 'blender_extensions.wsgi.application'
DATABASES = { DATABASES = {
'default': dj_database_url.config(default='sqlite:///{}'.format(BASE_DIR / 'db.sqlite3')), 'default': dj_database_url.config(default='sqlite:///{}'.format(BASE_DIR / 'db.sqlite3')),
} }
DATABASES['default']['CONN_MAX_AGE'] = None
# Password validation # Password validation
# https://docs.djangoproject.com/en/4.0/ref/settings/#auth-password-validators # https://docs.djangoproject.com/en/4.0/ref/settings/#auth-password-validators