Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix description of min_connections #2687

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

hakoerber
Copy link
Contributor

On PoolOptions::connect(), we open at least min_connections connections, or 1 if unset. Therefore, the expression needs to be max(). (min(1, x) would mean we always open only a single connection).

On `PoolOptions::connect()`, we open at least `min_connections`
connections, or 1 if unset. Therefore, the expression needs to be
`max()`. (`min(1, x)` would mean we always open only a single
connection).
@hakoerber
Copy link
Contributor Author

Looks like the CI error is unrelated to the change. Just some formatting issue. Should I fix this in a separate commit?

@abonander abonander merged commit 35ba8e2 into launchbadge:main Sep 12, 2023
57 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants