Closed Zoltus closed 1 year ago
I can assure you all sql querys are called Async, the reason they are not EXPLICITELY called async is cause the majority of these are called in a method that is already running Async. You can check, in RTPPlayer, the getApplicable is called async from the RTPPlayer class ;)
getInRange
If you execute CmdInfo#execute it calls infoGetWorld which calls QueueHandler.getApplicableAsync(_rtpworld).size()); which class DatabaseHandler.getQueue().getInRange(new DatabaseQueue.QueueRangeData(rtpWorld));
And mayby im blind but I cant see where it turns into async there. I hope its async, I just have hard time tracking the code. If you want to doublecheck that and let me know where the async call is made:)
Oh, well that info command is harmless, only admins have access to it and only used when setting up. I will fix that up though, simple fix luckily. Thanks for pointing that out
Oh, well that info command is harmless, only admins have access to it and only used when setting up. I will fix that up though, simple fix luckily. Thanks for pointing that out
Np:)
took me long enough...
Messaged to u at spigot month ago but no response so here again
You should always execute sql querys async, which you are not doing. It can be a huge problem! For example querys in public List getInRange(QueueRangeData range)
arent async.