
Loading too long for players with bad network.
joe-vettek opened this issue ยท 4 comments
Modloader
Forge
Minecraft version
1.19.2
Modloader version
43.1.25
Mod version
1.6.13
Description
I'm in an area where patreon isn't freely accessible, and Tenshilib's timeout threshold is way too high at 120 seconds. This picture clearly shows the problem.
Steps to reproduce
- add the mod and start the server in bad network.
Mods that might affect the issue
No response
Logs
https://gist.github.com/joe-vettek/a233bdd2a881d351d0d20a00d7e23129
For comparison, this is when the network is unobstructed.
https://gist.github.com/joe-vettek/d3e3b3de07456e6e525ae766382dc27f
- the data is obtained via a different thread and shouldn't affect the main game in anyway
- also the data isnt even obtained from patreon but from a github file and thus the issue lies probably somewhere else
also from the log there is nothing thats saying this mod is locking up the game. yes the data is failing to load but thats it
ok i just checked and i made an error cause getting the data is not asynchronous. but it should still not be the cause of the problem as the time when the player joins the server is way past the time where its trying to get the data since it happens as soon as the mod is loaded.
i did fix the asynchronous stuff now though
I have checked the code to find the problem, and that's so strange. Github is also not accessible in my country in anytime. But the asynchronous code should deal with the network problem.
So now the reason I insist on that the problem is casued by the Tenshilib mod is that the more two minutes loading time appear after I only add your two mod(this one and InprovedMob).
Temporarily I can't get a strong evidence. I'll find it next time. So I will close the issue now .