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

Update MaxConnections default value #4656

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

FedeNQ
Copy link
Contributor

@FedeNQ FedeNQ commented Nov 10, 2023

Pull Request check list

  • Commit conforms to CONTRIBUTING.md?
  • Proper tests/regressions included?
  • Documentation updated?

Affected functionality
Default value in max_open_connections

Description of change
In order to avoid an "infinite" numbers of connections, the default value is now set to 100.
In other hand, is recommended to keep the default value of connection lifetime as it is now, because in most cases recreate the connection is too slow, and keep it alive isn't a problem.

Which issue this PR fixes
fixes #4300

Signed-off-by: FedeNQ <fedenahuel07@gmail.com>
Copy link
Collaborator

@MarcosDY MarcosDY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, since no one is asking about a default value for conn_max_lifetime, we can move forward on only setting default value for max_open_conns.

@MarcosDY MarcosDY added this to the 1.8.6 milestone Nov 22, 2023
@MarcosDY MarcosDY merged commit 5863dc6 into spiffe:main Nov 22, 2023
31 checks passed
faisal-memon pushed a commit to faisal-memon/spire that referenced this pull request Dec 2, 2023
Signed-off-by: FedeNQ <fedenahuel07@gmail.com>
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
sorindumitru added a commit to sorindumitru/spire that referenced this pull request Jan 10, 2024
Max open connections default value was changed in spiffe#4656 to 100

Signed-off-by: Sorin Dumitru <sdumitru@bloomberg.net>
azdagron pushed a commit that referenced this pull request Jan 10, 2024
Max open connections default value was changed in #4656 to 100

Signed-off-by: Sorin Dumitru <sdumitru@bloomberg.net>
sriyer pushed a commit to spire-vault/spire that referenced this pull request Feb 23, 2024
Max open connections default value was changed in spiffe#4656 to 100

Signed-off-by: Sorin Dumitru <sdumitru@bloomberg.net>
rushi47 pushed a commit to rushi47/spire that referenced this pull request Apr 11, 2024
Max open connections default value was changed in spiffe#4656 to 100

Signed-off-by: Sorin Dumitru <sdumitru@bloomberg.net>
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.

Revisit defaults for mysql plugin
2 participants