BetterTeams icon indicating copy to clipboard operation
BetterTeams copied to clipboard

[BUG] Storage Performance Issues

Open kolderz opened this issue 8 months ago • 1 comments

What is the bug?

Why does every time a player attacks other players the plugin tries to query the database? You are supposed to cache this and not try to get data every time. A simple plugin like this shouldn't take that much process.

Expected Behaviour

It should not take that much resources.

How to Reproduce

Attack other players

Error message

None

Output of /teama version

Storage Method: com.booksaw.betterTeams.team.storage.storageManager.SQLStorageManager Minecraft Version: git-Purpur-2176 (MC: 1.20.4) Language Selected: messages Online mode: true Player count: 70 Current plugin version: 4.9.4

Additional Information

chrome_AiAjSBluKY

kolderz avatar May 26 '24 15:05 kolderz