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! -- Duncan Mac-Vicar P. - Engineering Manager, YaST SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org