mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-06 13:22:12 +00:00
Fix setting of conn_max_age variable
This commit is contained in:
@@ -110,7 +110,6 @@ TEMPLATES = [
|
|||||||
|
|
||||||
WSGI_APPLICATION = "app.wsgi.application"
|
WSGI_APPLICATION = "app.wsgi.application"
|
||||||
|
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
# https://docs.djangoproject.com/en/4.2/ref/settings/#databases
|
# https://docs.djangoproject.com/en/4.2/ref/settings/#databases
|
||||||
|
|
||||||
@@ -122,6 +121,7 @@ DATABASES = {
|
|||||||
"USER": os.getenv("POSTGRES_USER", "postgres"),
|
"USER": os.getenv("POSTGRES_USER", "postgres"),
|
||||||
"NAME": os.getenv("POSTGRES_DB", "khoj"),
|
"NAME": os.getenv("POSTGRES_DB", "khoj"),
|
||||||
"PASSWORD": os.getenv("POSTGRES_PASSWORD", "postgres"),
|
"PASSWORD": os.getenv("POSTGRES_PASSWORD", "postgres"),
|
||||||
|
"CONN_MAX_AGE": 240,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user