pacman.conf: make ParallelDownloads configurable
This commit is contained in:
parent
ae5b8b68f7
commit
863fbc1df0
2 changed files with 4 additions and 1 deletions
|
@ -37,6 +37,9 @@ CONFIG_DEFAULTS = {
|
||||||
'git_repo': 'https://gitlab.com/kupfer/packages/pkgbuilds.git',
|
'git_repo': 'https://gitlab.com/kupfer/packages/pkgbuilds.git',
|
||||||
'git_branch': 'dev',
|
'git_branch': 'dev',
|
||||||
},
|
},
|
||||||
|
'pacman': {
|
||||||
|
'parallel_downloads': 4,
|
||||||
|
},
|
||||||
'paths': {
|
'paths': {
|
||||||
'cache_dir': CACHE_DIR,
|
'cache_dir': CACHE_DIR,
|
||||||
'chroots': os.path.join('%cache_dir%', 'chroots'),
|
'chroots': os.path.join('%cache_dir%', 'chroots'),
|
||||||
|
|
|
@ -171,7 +171,7 @@ Color
|
||||||
#NoProgressBar
|
#NoProgressBar
|
||||||
{'' if check_space else '#'}CheckSpace
|
{'' if check_space else '#'}CheckSpace
|
||||||
VerbosePkgLists
|
VerbosePkgLists
|
||||||
ParallelDownloads = 8
|
ParallelDownloads = {config.file['pacman']['parallel_downloads']}
|
||||||
|
|
||||||
# By default, pacman accepts packages signed by keys that its local keyring
|
# 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.
|
# trusts (see pacman-key and its man page), as well as unsigned packages.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue