-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gamebox held up server on startup #56
Comments
Either that or maybe the connection just timed out. From your stacktrace I would say that this is nothing I can do about in GameBox. |
I had this issue again several times, why is it loading people's profiles on the main thread? |
I'll reopen and see when I find time to add this. I should rewrite the way GameBox loads the top lists anyway (#34). |
thanks 😄 |
There are lots of sites that cache the skin, you might want to see if you can use this instead, I think Crafatar works for that |
as a temporary solution, can this be disabled? It's holding it up every startup now 😕 |
As a temporary "fix" you could remove the top lists. Go to the game configurations and comment out the toplists. This way you won't lose the statistics, but the plugin won't load the heads. |
Heads could just be loaded in another thread nah ? |
Only the call for the texture is the problem. And yes, sure I can do that on another thread. That's what Miclebrick already said. I will do this together with #61 |
That, or get the profile async. Then the server won't do a synchronous call for the texture when you retrieve the head. But that's a paper-only thing (getting the profile) iirc. |
As far as I know I can just cache the textures as string, and use fake GameProfiles to apply them to heads. That should work for Bukkit. It just needs the authlib from mojang. |
Closing in favour of #61 |
above stacktrace is from jstack. I was doing some mass UUID -> name conversion so mojang's probably limiting my connections, that's probably it
The text was updated successfully, but these errors were encountered: