Make database connection pool size configurable #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Db::connecthardcodesPgPoolOptions::new().max_connections(5)(crates/db/src/lib.rs).Pool sizing is operationally significant for the per-org-deployment model (total connections = sum of all org pools against the shared Postgres; see
docs/specs/2026-06-02-mvp-architecture.md§3/§4). Promote it to configuration so it can be tuned per environment without an API change.DbConfig { url, max_connections }or aConfigfield with a sensible default).server::run→Db::connect.Source: Foundation (Plan 0) reviews — deferred, non-blocking.