-
Notifications
You must be signed in to change notification settings - Fork 120
Add HikariDataSource to mysql-loader #167
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
Add HikariDataSource to mysql-loader #167
Conversation
davidmayr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine to me. However, I don't use MySQL and I don't use HikariCP, so I don't know if the options the default constructor sets are just performance optimizations or things that should be set in order for this to work correctly.
Have you confirmed this to work with the HikariCP defaults? If yes, this is good to go.
|
Thinking about it, you could probably add an |
Each user is free and responsible for setting their own hikari parameters |
I mean, yeah, sure, but we'd at least want to make sure it works with the defaults, right? Because if it doesn't work correctly with the defaults, we should probably add a notice to the docs which parameters are necessary. |
* fix: empty compound tags causing null pointers when e.g. heightmaps are missing Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * chore: update paper Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * Additional chunk data with SRF 13 (#161) * feat: begin working on srf 13 Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * feat: moonrise implementation for entity and poi loading, further improvements Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * fix: dont put the wrong DataVersion in the tag when data fixing Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * feat: document format, swap poi chunks around to match read order, allow for future additions to the format Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * chore: javadoc Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * chore: remove some useless things Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * feat: section flags for sky and block light Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * fix: the thing I just fixed for the other formats for SRF 13 Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * fix: potential entity save errors Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * fix: entities not saving in vanilla worlds on autosave Signed-off-by: David Mayr <davidliebtkekse@gmail.com> --------- Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * 1.21.6 (#165) * fix: make asp compile with file patches only on 1.21.5 Signed-off-by: David <davidliebtkekse@gmail.com> * fix: npe on null cache Signed-off-by: David <davidliebtkekse@gmail.com> * fix: paper server feature patches Signed-off-by: David <davidliebtkekse@gmail.com> * feat: port all patches Signed-off-by: David <davidliebtkekse@gmail.com> * chore: add big fat temporary warning and fail if someone loads an old world Signed-off-by: David <davidliebtkekse@gmail.com> * chore: clarify on why saveIncrementally is commented out Signed-off-by: David <davidliebtkekse@gmail.com> * feat: incremental saving is back in paper Signed-off-by: David <davidliebtkekse@gmail.com> * feat: update to newest 1.21.5 commit Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * feat: initial 1.21.6-pre3 work Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * fix: compilation issues on ASP side Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * fix: update to newest paper Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * fix: compilation problems --nobuild Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * fix: lists with multiple types in conversion Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * feat: full 1.21.6 release Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * feat: update paper Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * fix: temporarily downgrade adventure Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * feat: update to newest paper Signed-off-by: David Mayr <davidliebtkekse@gmail.com> --------- Signed-off-by: David <davidliebtkekse@gmail.com> Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * feat: allow changing sea level using a slime property and change default to vanilla world sea level (Closes #166) Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * feat: change the default back to what it was before to avoid breaking changes, allow sea level modification in plugin config Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * fix: properties being accessed before they are ready Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * feat: use bstats server metrics Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * fix: allow animals was not applied Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * feat: allow to specify biome and environment on world creation as these variables are difficult to change later Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * Constructor with custom HikariDataSource for mysql-loader (#167) * feat(mysql-loader): add constructor that accepts HikariDataSource * feat(mysql-loader): add ApiStatus.Experimental to constructor * feat: update to upstream paper 57c202e01516b653aea9c7e050eaded1448863e5 Signed-off-by: David Mayr <davidliebtkekse@gmail.com> feat: update to upstream paper 57c202e01516b653aea9c7e050eaded1448863e5 Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * chore: update adventure Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * feat: 1.21.7 update Signed-off-by: David Mayr <davidliebtkekse@gmail.com> * chore: change api version to release --nobuild Signed-off-by: David Mayr <davidliebtkekse@gmail.com> --------- Signed-off-by: David Mayr <davidliebtkekse@gmail.com> Signed-off-by: David <davidliebtkekse@gmail.com> Co-authored-by: Edoardo Mannino <64657892+HighVirus@users.noreply.github.com>
* feat(mysql-loader): add constructor that accepts HikariDataSource * feat(mysql-loader): add ApiStatus.Experimental to constructor
No description provided.