summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-03-08 21:33:32 +0100
committerAllan McRae <allan@archlinux.org>2020-05-09 03:58:21 +0200
commitfe8e13341bdeae4a59c0270a632c29e71ae9deda (patch)
tree2e40d6b786ec2fe8bd5b878d09f2fa627c0190a8 /doc
parentcffda331adca0aedd7c1fc17d739c27fc8041a20 (diff)
downloadpacman-fe8e13341bdeae4a59c0270a632c29e71ae9deda.tar.gz
pacman-fe8e13341bdeae4a59c0270a632c29e71ae9deda.tar.xz
Add config option to specify amount of parallel download streams
It includes pacman.conf new 'ParallelDownloads' option that specifies how many concurrent downloads cURL starts in parallel. Add alpm_option_set_parallel_downloads() ALPM function that allows to set this config option programmatically. Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/pacman.conf.5.asciidoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/pacman.conf.5.asciidoc b/doc/pacman.conf.5.asciidoc
index 5e4602a0..3c2f1fea 100644
--- a/doc/pacman.conf.5.asciidoc
+++ b/doc/pacman.conf.5.asciidoc
@@ -209,6 +209,11 @@ Options
Disable defaults for low speed limit and timeout on downloads. Use this
if you have issues downloading files with proxy and/or security gateway.
+*ParallelDownloads*::
+ Specifies number of concurrent download streams. The value needs to be a
+ positive integer. If this config option is not set then only one download
+ stream is used (i.e. downloads happen sequentially).
+
Repository Sections
-------------------