Skip to content

Commit

Permalink
Add note about core.upload:parallel (#3540)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbrilRBS authored Jan 30, 2024
1 parent ea6bf70 commit 5324c10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/config_list.inc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,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

0 comments on commit 5324c10

Please sign in to comment.