TechnicallyCoded / Inventory-Rollback-Plus

Spigot/Bukkit plugin that allows server moderators to restore player items and data from backups.
https://www.spigotmc.org/resources/85811/
Other
77 stars 45 forks source link

Bug report: MySQL Too Many Connections #118

Open nicholasveronico opened 1 year ago

nicholasveronico commented 1 year ago

Bug description:

Upon executing /irp forcebackup all, the console spams with a SQL error stating that too many connections are open.

Server details:

How to reproduce:

  1. Run /irp forcebackup all (May require you to run twice a few seconds apart for it to trigger)

What was expected:

It is expected that the backups will be completed without opening too many connections.

Screenshots, logs & other:

https://pastebin.com/9gYFfvWB

Additional info:

I don't know if this will be easily reproducible. This occurs on a network where there are 100+ players that are being force-backed up.

nicholasveronico commented 1 year ago

Hello. I was wondering if there are any updates on this issue.

Thank you.

TechnicallyCoded commented 1 year ago

Current structure would not allow these changes for a fix without crazy changes I am going to re-write the plugin soon(tm) which will allow much better version support and fine-grain control over this stuff.