From fe8e13341bdeae4a59c0270a632c29e71ae9deda Mon Sep 17 00:00:00 2001 From: Anatol Pomozov Date: Sun, 8 Mar 2020 13:33:32 -0700 Subject: 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 Signed-off-by: Allan McRae --- doc/pacman.conf.5.asciidoc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') 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 ------------------- -- cgit v1.2.3-54-g00ecf