This update adds some more functionality in the config.yml file. I highly recommend you
review the new configuration options which appear
here, and
add them into your config.yml file when updating to this version of Daily Rewards 2.
New:
- Added new mysql.max-lifetime and mysql.keepalive-time options to config.yml. These new settings allow the plugin to proactively manage database timeouts.
I've added clear comments to explain what they do in the config.yml. In short, these will help make MySQL connections more reliable, especially for users with unreliable providers.
Changes / Fixes:
- The plugin now uses HikariCP, a professional-grade connection pool, to reliably manage all MySQL connections and automatically handle network errors or timeouts.
- Thanks to HikariCP, I was able to add some optimization settings that enable caching of SQL statements, which should provide a big bump in performance when the SQL connection is being used.
- Fixed another small debug log typo to show the user's name rather than their CraftPlayer data.
Although this update was tested thoroughly, you might still encounter bugs or issues. Please report any bugs you might find to the
GitHub bug tracker here.