diff --git a/config.py b/config.py index ea03516..b6ef8bd 100644 --- a/config.py +++ b/config.py @@ -37,6 +37,9 @@ CONFIG_DEFAULTS = { 'git_repo': 'https://gitlab.com/kupfer/packages/pkgbuilds.git', 'git_branch': 'dev', }, + 'pacman': { + 'parallel_downloads': 4, + }, 'paths': { 'cache_dir': CACHE_DIR, 'chroots': os.path.join('%cache_dir%', 'chroots'), diff --git a/distro.py b/distro.py index 117d9c8..89c6d13 100644 --- a/distro.py +++ b/distro.py @@ -171,7 +171,7 @@ Color #NoProgressBar {'' if check_space else '#'}CheckSpace VerbosePkgLists -ParallelDownloads = 8 +ParallelDownloads = {config.file['pacman']['parallel_downloads']} # By default, pacman accepts packages signed by keys that its local keyring # trusts (see pacman-key and its man page), as well as unsigned packages.