[Nix-dev] Re: Re: nix-prefetch-url curl args

Yury G. Kudryashov urkud+nix at ya.ru
Wed May 26 22:48:12 CEST 2010


Lluís Batlle i Rossell wrote:

> On Thu, May 27, 2010 at 12:28:28AM +0400, Yury G. Kudryashov wrote:
>> Lluís Batlle i Rossell wrote:
>> 
>> > On Wed, May 26, 2010 at 09:56:57PM +0400, Yury G. Kudryashov wrote:
>> >> Hi!
>> >> 
>> >> What do you think about adding something like "--speed-limit 20
>> >> --speed-time 30 --connect-timeout 15 --retry 5" to curl arguments?
>> > That would save us from some 'ikwildwrepper, can you requeue the failed
>> > downloads?' :)
>> This will solve another my problem as well. Sometimes the download speed
>> falls to zero (probably, ISP issue). This will resume download after 30
>> seconds of zero speed instead of waiting untill I'll stop it, and
>> restarting from the beginning.
>> > 
>> > I'm for it.
> Notice that I mostly meant 'fetchurl', while you wrote nix-prefetch-url.
I vote for adding both to fetchurl, and nix-prefetch-url. The second one is 
used by download-using-manifests.pl.





More information about the nix-dev mailing list