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

Make MySQL maximumPoolSize configurable #411

Merged
merged 2 commits into from
Jul 17, 2023

Conversation

C0Nd3Mnd
Copy link
Contributor

This change adds an entry to the config file where one can set the maximum pool size of the MySQL/MariaDB database connection. The default is set to 10, which is the default when not setting it at all anyway, so existing installations should see no change.

Allowing this value to be configurable can be useful if, for example, many Minecraft (or other) server instances are connecting to a database server which has a limited amount of connections it allows. On the other hand, increasing this value could help when connecting to a powerful database server with a highly loaded Minecraft server.

@Intelli Intelli merged commit 6045799 into PlayPro:master Jul 17, 2023
U5B pushed a commit to U5B/CoreProtect that referenced this pull request Sep 22, 2023
* Make MySQL maximumPoolSize configurable

* Correctly assign default value to mysql-maximum-pool-size

---------

Co-authored-by: Intelli <[email protected]>
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