Skip to content

Conversation

@arisu3
Copy link
Contributor

@arisu3 arisu3 commented Sep 5, 2025

Add a configuration option, max-uploads, to limit the maximum number of concurrent uploads. The default remains 3. A resource group will download a new WU only when the number of pending uploads falls below this value.

Fixes #98

@jcoffland
Copy link
Member

This only kind of works. If two WUs finish at the same time they will both upload at the same time. This prevents a download during an upload.

@arisu3
Copy link
Contributor Author

arisu3 commented Sep 15, 2025

That's intentional. By deferring downloads, it limits the chances of the upload failing. Users with extremely poor internet connections could set the max uploads to 0 so that a download is not attempted until the previous upload has finished.

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.

Add an option to limit concurrent uploads

2 participants