mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Add health checks for the django ORM
This commit is contained in:
parent
a31cd0dec1
commit
0eb000c3ea
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ DATABASES = {
|
|||
"NAME": os.getenv("POSTGRES_DB", "khoj"),
|
||||
"PASSWORD": os.getenv("POSTGRES_PASSWORD", "postgres"),
|
||||
"CONN_MAX_AGE": 0,
|
||||
"CONN_HEALTH_CHECKS": True,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue