Mailinglist Archive: zypp-devel (66 mails)
| < Previous | Next > |
Re: [zypp-devel] [Patch] zypp/media/MediaAria2c.cc: better aria2c options
- From: Peter Poeml <poeml@xxxxxxx>
- Date: Tue, 17 Feb 2009 19:49:14 +0100
- Message-id: <20090217184914.GD14919@xxxxxxx>
Hi Duncan,
On Tue, Feb 17, 2009 at 06:25:56PM +0100, Duncan Mac-Vicar Prett wrote:
It's easy enough I guess ;-)
Thanks,
Peter
--
Contact: admin@xxxxxxxxxxxx (a.k.a. ftpadmin@xxxxxxxx)
#opensuse-mirrors on freenode.net
Info: http://en.opensuse.org/Mirror_Infrastructure
SUSE LINUX Products GmbH
Research & Development
On Tue, Feb 17, 2009 at 06:25:56PM +0100, Duncan Mac-Vicar Prett wrote:
Peter Poeml wrote:
Hi,
the attached is a patch for Factory, which changes the aria2c call to
append two commandline switches. One of them will save a massive amount
of HEAD requests on us, the other one will adjust the number of parallel
download connections to something more harmless (2 instead of 5). The
latter should actually be made configurable, though.
Adding the latter switch probably means that it isn't possible anymore
to override the setting with ~/.aria2/aria2.conf, but we need a good
default to start with, and can't expect anyone to have
~/.aria2/aria2.conf either. Settings like this should go to
/etc/zypp/* I think. It is particularly useful to configure a log file
for aria2c for example (log=/var/log/aria2.log).
Peter
that code does not exist in my branch, as the aria command is now in a
abstract class, but I will port it. thanks!
It's easy enough I guess ;-)
Thanks,
Peter
--
Contact: admin@xxxxxxxxxxxx (a.k.a. ftpadmin@xxxxxxxx)
#opensuse-mirrors on freenode.net
Info: http://en.opensuse.org/Mirror_Infrastructure
SUSE LINUX Products GmbH
Research & Development
| < Previous | Next > |