Skip to content
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

Async task handling improvement #209

Open
wants to merge 16 commits into
base: dev/1.21.4
Choose a base branch
from

Conversation

HaHaWTH
Copy link
Member

@HaHaWTH HaHaWTH commented Feb 3, 2025

Closes #184 and #102.

Changes

  • All threads are core thread in MultithreadedTracker and AsyncPathfinding, create new threads first instead of filling up the queue.
  • Removed auto-resize option in async entity tracker, no longer needed.
  • Schedule path consumer to Paper entity scheduler
  • Discard pathfinding tasks submitted later if we already have a task in the queue.

Great thanks to @Taiyou06 and other contributors for the help

This was linked to issues Feb 3, 2025
@Dreeam-qwq
Copy link
Member

Jump!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken Pathfinding Mob AI Issues
2 participants