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

Fix server generating hash for all resource files on startup #1725

Open
Pirulax opened this issue Oct 16, 2020 · 0 comments
Open

Fix server generating hash for all resource files on startup #1725

Pirulax opened this issue Oct 16, 2020 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Pirulax
Copy link
Contributor

Pirulax commented Oct 16, 2020

Describe the bug
When the server starts up, it generates the hash for every resource file, even for resources that aren't loaded.
This process is very CPU and storage intensive, and when running the server on a HDD it takes ages. This is really annoying when debugging the server, where you need to stop and start the server a lot.

Expected behaviour
Only generate hashes when the resource is started. When stopped clear the hashes, and regenerate it all.

Version
Latest (1.5.8 something), doesn't matter.

@Pirulax Pirulax added the bug Something isn't working label Oct 16, 2020
@StrixG StrixG added this to the 1.6 milestone Oct 18, 2020
@botder botder self-assigned this Mar 17, 2021
@botder botder removed their assignment May 30, 2021
@botder botder modified the milestones: Next Release (1.5.9), Backlog May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants