Re: Making PEER_TCP_MAGIC_COUNT a cache_peer option

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Sat, 07 Jun 2008 00:01:06 +0200

On fre, 2008-06-06 at 22:01 +0800, Adrian Chadd wrote:
> On Fri, Jun 06, 2008, Amos Jeffries wrote:
>
> > >Looks fine - but you need to add some code to the configuration file
> > >-generator- so it spits out the option when building the cache_peer line.
> >
> > What do you mean Adran? I thought it would just be a default setting
> > added at the top of the cache_peer parsing function. Overridden if the
> > option is used.
>
> dump_peer_options()

Done.

+ if (p->connect_fail_limit != PEER_TCP_MAGIC_COUNT)
+ storeAppendPrintf(sentry, " connect-fail-limit=%d", p->connect_fail_limit);

Regards
Henrik
Received on Fri Jun 06 2008 - 22:01:15 MDT

This archive was generated by hypermail 2.2.0 : Sat Jun 07 2008 - 12:00:04 MDT