mirror of
https://github.com/PaperMC/Folia.git
synced 2025-04-23 04:39:19 +08:00
1. Adjust insertion last task process time to be the current time. This makes fresh inserts to be scheduled fairly with current inserts. 2. Always attempt to watch global first task This should try to prevent multiple scheduler threads from waiting on the same task. If the global first task is our task, then we can avoid retrying for the next task. 3. Correctly set runner state to TASKS when parsing intermediate tasks. This will prevent the runner from being interrupted by notifyTasks.