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

Suggestion: Try to use account.getCachedBalance() when calculating money in economy #813

Open
Goosius1 opened this issue Apr 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Goosius1
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

  • With current code, the method account.getHoldingBalance() is used to calculate money in economy
  • This is done on server startup, and towny new day........but it is a slow thing, especially on big servers

Describe the solution you'd like
A clear and concise description of what you want to happen.

  • Look into using account.getCachedBalance()
  • FYI I did try this before but it gave me values which were too high, so debugging might be needed etc.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@Goosius1 Goosius1 added the enhancement New feature or request label Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant