Decrease the life of one connection

This commit is contained in:
sabaimran
2024-05-31 15:39:15 +05:30
parent 3090b84252
commit fd07abbfc8

View File

@@ -121,7 +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, "CONN_MAX_AGE": 200,
} }
} }