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

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,
},
}
}

View File

@@ -1,5 +1,5 @@
Django~=5.2.9
psycopg[binary]==3.2.9
psycopg[binary,pool]==3.2.9
django-vite==3.1.0
django-crispy-forms==2.5
crispy-bootstrap5==2025.6