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

Ratelimit for javafx refresh when loading chunks #831

Merged
merged 2 commits into from
Feb 25, 2021

Conversation

ThatRedox
Copy link
Member

Currently only methods that are associated with loading chunks are ratelimited. I felt like 3 fps was decent just to show progress without giving the impression that Chunky has crashed, however larger values shouldn't have too big of a performance impact.

Also while I was here I cleaned up some code from my previous pull to just use a volatile boolean instead of an AtomicBoolean.

@leMaik leMaik merged commit d473618 into chunky-dev:master Feb 25, 2021
@leMaik leMaik added bug chunky 2.x Issues that only affect version 2.x of chunky (for Minecraft 1.13+) snapshot-only Issues that only affect Chunky snapshots labels Feb 25, 2021
@leMaik
Copy link
Member

leMaik commented Feb 25, 2021

Thank you! 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug chunky 2.x Issues that only affect version 2.x of chunky (for Minecraft 1.13+) snapshot-only Issues that only affect Chunky snapshots
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants