Skip to content

Database Connection Pooling and Timeouts #202

@Baskarayelu

Description

@Baskarayelu

Description:

Configure connection pooling and timeouts for the database client to avoid exhausting connections and long hangs.

Requirements

  • Set pool size (e.g. min 1, max 10 for serverless; adjust for Node server)
  • Set connection timeout and query timeout (e.g. 5s) in Prisma or DB client
  • Health check uses a simple query and fails fast if timeout
  • Document pool and timeout settings in README
  • If using serverless (Vercel): follow Prisma/serverless best practices (connection limit, warm-up)

Acceptance Criteria

  • Pool and timeouts configured
  • Health reflects DB availability
  • Documented

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions