[BUG] MySQL - server lag every block placed/broken
Krosta8 opened this issue ยท 4 comments
Describe the bug
If you connect RedProtect to MySQL and try to break/place block - server lag. RedProtect do around 13k requests to MySQL (in 5 sec) and after these requests server is going back to normal.
This can't be reproduced, if you are using file save instead of MySQL.
To Reproduce
Steps to reproduce the behavior:
- Connect RedProtect to MySQL
- Try to break/place block - server lag
- RedProtect did around 13k requests to MySQL
- After this - server is going back to normal
Screenshots and LOGs
https://media.discordapp.net/attachments/692360033857568788/697748114626576404/unknown.png
Happened with RedProtect build 310 and Mohist build 439, Minecraft version 1.12.2
EDIT://
Also found out, that the server got lag with claim creating (don't know, if its related).
With the test I made claim size of 19k blocks.