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 simultaneous downloads #433

Merged

Conversation

thomhayward
Copy link
Contributor

No description provided.

Acquire a semaphore permit while executing each download task, instead
of while _creating_ each download task.

- Fixes gorilla-devs#370.
- Also prevents a deadlock when downloading more than 75 mods.
`request::Client` is just an `Arc` wrapper around its own internal
type anyway.
Copy link

cla-bot bot commented Oct 1, 2024

We require contributors to sign our Contributor License Agreement, and we don't have yours on file. In order for us to review and merge your code, please send a signing request to [email protected] and add your github handle to contributors list.

@theRookieCoder
Copy link
Collaborator

Thank you for your contribution!

Fixes #432

@theRookieCoder theRookieCoder merged commit 48531ac into gorilla-devs:main Oct 2, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants