Skip to content

feat: configure database connection pool via environment variables#681

Merged
bencap merged 1 commit intorelease-2026.1.2from
chore/bencap/680/bump-pool-sizes
Mar 19, 2026
Merged

feat: configure database connection pool via environment variables#681
bencap merged 1 commit intorelease-2026.1.2from
chore/bencap/680/bump-pool-sizes

Conversation

@bencap
Copy link
Collaborator

@bencap bencap commented Mar 10, 2026

Add DB_POOL_SIZE and DB_MAX_OVERFLOW environment variables to control SQLAlchemy connection pool settings per environment. Enable pool_pre_ping to discard stale connections on checkout. Defaults remain at 5/10 for local development.

Add DB_POOL_SIZE and DB_MAX_OVERFLOW environment variables to control
SQLAlchemy connection pool settings per environment. Enable pool_pre_ping
to discard stale connections on checkout. Defaults remain at 5/10 for
local development.
@bencap bencap merged commit 9edc76c into release-2026.1.2 Mar 19, 2026
6 checks passed
@bencap bencap deleted the chore/bencap/680/bump-pool-sizes branch March 19, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configure database connection pool and Uvicorn workers for concurrent request handling

2 participants