Fix setting of conn_max_age variable

This commit is contained in:
sabaimran 2024-05-31 11:07:13 +05:30
parent 76f941f4e5
commit 5dca48d9fc

View file

@ -110,7 +110,6 @@ TEMPLATES = [
WSGI_APPLICATION = "app.wsgi.application"
# Database
# https://docs.djangoproject.com/en/4.2/ref/settings/#databases
@ -122,6 +121,7 @@ DATABASES = {
"USER": os.getenv("POSTGRES_USER", "postgres"),
"NAME": os.getenv("POSTGRES_DB", "khoj"),
"PASSWORD": os.getenv("POSTGRES_PASSWORD", "postgres"),
"CONN_MAX_AGE": 240,
}
}