[Yum-devel] [PATCH 1/6] add 'max_connections' and 'async' options
James Antill
james at fedoraproject.org
Fri Jan 27 16:54:35 UTC 2012
On Fri, 2012-01-27 at 13:30 +0100, Zdeněk Pavlas wrote:
> If set in config, update the urlgrabber's default.
> Copy max_connections parsed from the metalink to MG.
> ---
> docs/yum.conf.5 | 11 +++++++++++
> yum/__init__.py | 4 ++++
> yum/config.py | 2 ++
> yum/metalink.py | 7 +++----
> yum/yumRepo.py | 16 ++++++++++++++--
> 5 files changed, 34 insertions(+), 6 deletions(-)
>
> diff --git a/docs/yum.conf.5 b/docs/yum.conf.5
> index d6fe824..d77436f 100644
> --- a/docs/yum.conf.5
> +++ b/docs/yum.conf.5
> @@ -321,6 +321,13 @@ Determines how yum resolves host names.
> `6' or `IPv6': resolve to IPv6 addresses only.
>
> .IP
> +\fBmax_connections \fR
> +
> +The maximum number of simultaneous connections. This overrides the urlgrabber
> +default of 5 connections. Note that there are also per-mirror limits, and the
> +downloader honors these too.
> +
This is supposed to be just a global option now, and not per. reop.
right?
Otherwise, ACK.
More information about the Yum-devel
mailing list