fix: try to fix "the connection is closed" db errors

This commit is contained in:
Herculino Trotta
2025-12-06 16:46:33 -03:00
parent aed3fb11fe
commit 92f7bcfd9e
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -151,6 +151,9 @@ DATABASES = {
"PASSWORD": os.getenv("SQL_PASSWORD", "password"),
"HOST": os.getenv("SQL_HOST", "localhost"),
"PORT": os.getenv("SQL_PORT", "5432"),
"OPTIONS": {
"pool": True,
},
}
}