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.
Accept pool size via config (e.g. a DbConfig { url, max_connections } or a Config field with a sensible default).
Thread it through server::run → Db::connect.
Source: Foundation (Plan 0) reviews — deferred, non-blocking.
`Db::connect` hardcodes `PgPoolOptions::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.
- [ ] Accept pool size via config (e.g. a `DbConfig { url, max_connections }` or a `Config` field with a sensible default).
- [ ] Thread it through `server::run` → `Db::connect`.
_Source: Foundation (Plan 0) reviews — deferred, non-blocking._
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.