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

Add note about core.upload:parallel #3540

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions common/config_list.inc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
core.sources:download_urls: List of URLs to download backup sources from
core.sources:exclude_urls: URLs which will not be backed up
core.sources:upload_url: Remote URL to upload backup sources to
core.upload:parallel: Number of concurrent threads to upload packages
core.upload:retry: Number of retries in case of failure when uploading to Conan server
core.upload:retry_wait: Seconds to wait between upload attempts to Conan server
core.version_ranges:resolve_prereleases: Whether version ranges can resolve to pre-releases or not
Expand Down
3 changes: 3 additions & 0 deletions reference/commands/upload.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ If the ``--format=json`` formatter is specified, the result will be a "PackageLi

The ``--dry-run`` argument will prepare the packages for upload, zip files if necessary, check in the server to see what needs to be uploaded and what is already in the server, but it will not execute the actual upload.

Using the ``core.upload:parallel`` conf, it is possible to upload packages in parallel.
By default, or when set to a value less than ``2``, no parallelization will take place,
and any other value will be the number of parallel threads to utilize.

Read more
---------
Expand Down