libalpm: set parallel_downloads to 1 when creating the handle

Fixes FS#68729

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
morganamilo 2020-11-24 12:39:04 +00:00 committed by Allan McRae
parent db4092e33d
commit 9dc29ebf5f

View file

@ -75,6 +75,8 @@ alpm_handle_t SYMEXPORT *alpm_initialize(const char *root, const char *dbpath,
myhandle->curlm = curl_multi_init(); myhandle->curlm = curl_multi_init();
#endif #endif
myhandle->parallel_downloads = 1;
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
bindtextdomain("libalpm", LOCALEDIR); bindtextdomain("libalpm", LOCALEDIR);
#endif #endif