Skip to content

Make pool sizing configurable #5921

@suhaibmujahid

Description

@suhaibmujahid

Bumping max_overflow increases the maximum concurrent DB connections per service instance from 7 to 10 (pool_size + max_overflow). If Cloud Run concurrency or other workloads can spike, this may increase pressure on the Cloud SQL connection limit. Consider making pool sizing configurable via environment (or documenting the expected per-instance connection budget) to avoid surprises in production.

Originally posted by @Copilot in #5920 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions