[Yum-devel] before 2.3.4

Michael Stenner mstenner at linux.duke.edu
Thu Jul 7 22:54:28 UTC 2005


On Thu, Jul 07, 2005 at 05:45:04PM -0400, seth vidal wrote:
> On Thu, 2005-07-07 at 08:50 -0400, Matthew Miller wrote:
> > On Thu, Jul 07, 2005 at 02:07:02AM -0400, seth vidal wrote:
> > >  before I push out 2.3.4 - can anyone think of any items available in
> > > the config that aren't in the man pages or any command that's not
> > > documented in the man pages? I'm trying to make sure the docs make
> > > _some_ sense. :)
> > 
> > Would it make sense to increase the default timeout to 45? (Not a
> > documentation issue, but the docs made me notice that it's still at 30.)
> 
> is 30s really all that short? It seems pretty long to me, actually.

Here's the problem.  You want the timeout

  a) short enough that people on a fast network with one slow mirror
     won't get annoyed.
  b) long enough that people on slow network (or at release time)
     won't fail completely.

As long as it's well-documented, I really don't think it matters much
what the default it.  That said, I suspect the right way to
increase/decrease it is exponentially :) That is, multiply/divide by 2
or something.  If 30 seconds is providing repeated failures for
someone, I doubt 45 is going to make it magically work.

Now, when Menno's patch for skipping mirrors gets in (which relies on
me making some urlgrabber mods), I'd lobby for a larger timeout (60 s
or so, probably) because the inconvenience of waiting during
interactive sessions is reduced.

					-Michael
-- 
  Michael D. Stenner                            mstenner at ece.arizona.edu
  ECE Department, the University of Arizona                 520-626-1619
  1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE 524G



More information about the Yum-devel mailing list