pacman.conf: make ParallelDownloads configurable

This commit is contained in:
InsanePrawn 2021-12-29 21:30:06 +01:00
parent ae5b8b68f7
commit 863fbc1df0
2 changed files with 4 additions and 1 deletions

View file

@ -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'),

View file

@ -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.