Skip to main content

Module pool

Module pool 

Source
Expand description

Database connection pool management

Provides production-ready PostgreSQL connection pooling with:

  • Pool warming via min_connections (pre-established connections)
  • Idle timeout to release unused connections
  • Max lifetime to recycle connections (picks up PG config changes)
  • Connection health checks before checkout

See .claude/skills/connection-pooling-architecture for full patterns.

Structsยง

DatabasePool
Database connection pool
PoolConfig
Configuration for database connection pool