mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-05 05:39:11 +00:00
Explicitly set the connection age to 0 in the django settings. Seems to be some strange behavior with async gunicorn + django db
This commit is contained in:
@@ -121,7 +121,7 @@ DATABASES = {
|
||||
"USER": os.getenv("POSTGRES_USER", "postgres"),
|
||||
"NAME": os.getenv("POSTGRES_DB", "khoj"),
|
||||
"PASSWORD": os.getenv("POSTGRES_PASSWORD", "postgres"),
|
||||
"CONN_MAX_AGE": 200,
|
||||
"CONN_MAX_AGE": 0,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user