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

Adding multi-thread network downlaod for precache resource check on URL ... #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guruqu
Copy link

@guruqu guruqu commented May 9, 2014

Server start takes too long because of single thread Url resource update check.
Made modification to use thread-pool and workers for concurrent Url checking.
Also output some status during the check so that user won't think their server hanged.

@guruqu
Copy link
Author

guruqu commented May 10, 2014

I didn't do anything other than making the "header fetch -> hash check" process parallel, it speed up the starting process overall.
With regard to the some player making client ignore the "Resource Update/Hash Mismatch", I guess it's fine if that player/client don't want an "awsome updated experience".

@Dockter
Copy link
Contributor

Dockter commented May 10, 2014

I have dealt with this issue for a long time.

I'll pull the PR down and test, if its golden I'll merge it.

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.

3 participants