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

Prevents creation of unnecessary threads when bossbar is in async #1704

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

MisterFrans
Copy link
Contributor

When async is enabled, boss bar display checks are performed before thread creation, to avoid the creation of threads that only check its display conditions. This prevents the creation of useless threads, especially if the bossbar is updated with every action, which would create thousands of threads per minute with just a few players.

@Zrips Zrips merged commit 79fbf40 into Zrips:master Jan 25, 2024
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.

2 participants