Files
dtf-system/infra/requirements.txt
Cauê Faleiros 5b7e95ad86 feat: a database connection pool behind DB_POOL (off in production)
Every db.connect() opened a new Postgres connection; with DB_POOL=on each
process keeps a psycopg_pool pool (DB_POOL_SIZE, default 20, 10 s
acquisition timeout, dropped connections replaced) with the same
commit/rollback contract. Production stays off until switched in Portainer;
the local stack and CI run with it on. Two nested acquisitions that ran on
every board load and in audits now reuse the caller's connection.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-09 17:57:42 -03:00

11 lines
178 B
Plaintext

fastapi==0.141.1
starlette==1.6.0
uvicorn==0.34.2
psycopg[binary]==3.2.9
psycopg-pool==3.2.8
boto3==1.38.23
httpx==0.28.1
pillow==13.0.0
pikepdf==10.13.0.post1
pypdfium2==5.14.0