mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-08-01 00:41:06 +00:00
- Introduced shared connection pooling for PostgreSQL using `*sql.DB` for sqlc and GORM, optimizing resource usage. - Added new environment variables: `DB_MAX_OPEN_CONNS`, `DB_MAX_IDLE_CONNS`, and `DB_VECTOR_MAX_CONNS` for configurable connection limits. - Updated documentation to reflect new connection pooling strategy and provide operational commands for monitoring. - Implemented shared `pgxpool` for pgvector stores to reduce connection overhead and improve performance. - Adjusted various components to utilize the new connection pooling setup, ensuring efficient database interactions.