mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 09:25:06 +01: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:
parent
85a343363b
commit
acfdc8da77
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue