[pacman-dev] [PATCH 1/5] libalpm: set parallel_downloads to 1 when creating the handle
morganamilo
morganamilo at archlinux.org
Tue Nov 24 12:39:04 UTC 2020
Fixes FS#68729
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c
index 34c5b4b2..5d36136d 100644
--- a/lib/libalpm/alpm.c
+++ b/lib/libalpm/alpm.c
@@ -61,6 +61,8 @@ alpm_handle_t SYMEXPORT *alpm_initialize(const char *root, const char *dbpath,
/* set default database extension */
STRDUP(myhandle->dbext, ".db", goto nomem);
+ myhandle->parallel_downloads = 1;
+
lockfilelen = strlen(myhandle->dbpath) + strlen(lf) + 1;
MALLOC(myhandle->lockfile, lockfilelen, goto nomem);
snprintf(myhandle->lockfile, lockfilelen, "%s%s", myhandle->dbpath, lf);
--
2.29.2
More information about the pacman-dev
mailing list