Bug 1230975 - [rfe] configurable parallel downloads (like yum's max_connections)
Summary: [rfe] configurable parallel downloads (like yum's max_connections)
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2015-06-11 22:54 UTC by Jargon Scott
Modified: 2015-08-11 02:08 UTC (History)
8 users (show)

Fixed In Version: dnf-1.0.2-3.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-08-11 02:08:28 UTC
Type: Bug

Attachments (Terms of Use)

Description Jargon Scott 2015-06-11 22:54:15 UTC
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

Actual results:

Progress meter indicates that two packages are being downloaded simultaneously.

Expected results:

Upon setting a dnf configuration parameter, the progress meter should confirm that 1 (or 3 or ... ) packages are being downloaded at a time.

Additional info:

Comment 2 Fedora Update System 2015-07-22 08:25:22 UTC
dnf-1.0.2-2.fc22,hawkey-0.5.9-2.fc22 has been submitted as an update for Fedora 22.

Comment 3 Jargon Scott 2015-07-25 01:10:05 UTC
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 .

Comment 4 Fedora Update System 2015-08-01 02:28:31 UTC
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).

Comment 5 Fedora Update System 2015-08-11 02:08:28 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.