Red Hat Bugzilla – Bug 1230975
[rfe] configurable parallel downloads (like yum's max_connections)
Last modified: 2015-08-10 22:08:28 EDT
Description of problem:
Yum supports a "max_connections" parameter, which allows the user to tune the maximum number of simultaneous downloads.
Although DNF supports parallel downloads, I see no means by which the user may *change* the maximum number of concurrent downloads.
Such a feature is desirable, for example, on flaky or unreliable network links. In these cases, it's useful to set yum's max_connections=1 to maximize the number of packages that have been downloaded completely and cached before the link goes down.
Version-Release number of selected component (if applicable):
How reproducible: Always (this is a feature request).
Steps to Reproduce:
1. dnf install foo
Progress meter indicates that two packages are being downloaded simultaneously.
Upon setting a dnf configuration parameter, the progress meter should confirm that 1 (or 3 or ... ) packages are being downloaded at a time.
dnf-1.0.2-2.fc22,hawkey-0.5.9-2.fc22 has been submitted as an update for Fedora 22.
Thank you very much!
I can confirm that this works for me when setting max_parallel_downloads=1 in /etc/dnf/dnf.conf .
Positive feedback added to the update listed in comment #2 .
Package dnf-1.0.2-3.fc22, hawkey-0.5.9-3.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-1.0.2-3.fc22 hawkey-0.5.9-3.fc22'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dnf-1.0.2-3.fc22, hawkey-0.5.9-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.