This pull request attempts to reduce the effects of long chunk processing times by spreading it out over several frames. If a processing deadline is exceeded (currently 24ms) then LocalChunkProvider should stop processing and resume on the next tick.
Ideally LocalChunkProvider::tick should take that long to execute, however, this reduces the severity of such occurences as an interim solution.
How to test
Start a new game
In the first few minutes of gameplay you should see some warnings referring to chunk processing taking too long.
Contains
This pull request attempts to reduce the effects of long chunk processing times by spreading it out over several frames. If a processing deadline is exceeded (currently 24ms) then
LocalChunkProvider
should stop processing and resume on the next tick.Ideally
LocalChunkProvider::tick
should take that long to execute, however, this reduces the severity of such occurences as an interim solution.How to test