pool: Add a builder so connection options are immutable
We want all sub-pools to have the same connection options, so require that pool_max is modified at construction time via a builder.
Bug: T325951
How to register an account on GitLab. To prevent spam, new accounts are locked until approved by an admin or the approver bot. You can also file an unlock request to expedite access.
Support: mw:GitLab, how to host a project on GitLab, #wikimedia-gitlab on libera.chat, #GitLab on Phabricator.
We want all sub-pools to have the same connection options, so require that pool_max is modified at construction time via a builder.
Bug: T325951