Re: apr_memcache tries a dead server for each request, not every 5 secs as per comment

2012-09-26 Thread Jeff Trawick
On Tue, Sep 25, 2012 at 2:34 PM, Jeff Trawick wrote: > On Tue, Sep 25, 2012 at 11:54 AM, Gavin Shelley wrote: >> >> The comment says: >> >> /* Try the dead server, every 5 seconds */ >> >> but the code looks to try for each request more than 5 seconds after the >> dead server was fir

Re: apr_memcache tries a dead server for each request, not every 5 secs as per comment

2012-09-25 Thread Jeff Trawick
On Tue, Sep 25, 2012 at 11:54 AM, Gavin Shelley wrote: > > The comment says: > > /* Try the dead server, every 5 seconds */ > > but the code looks to try for each request more than 5 seconds after the dead > server was first noticed. > > If I'm correct, does the following (untested) p

apr_memcache tries a dead server for each request, not every 5 secs as per comment

2012-09-25 Thread Gavin Shelley
The comment says: /* Try the dead server, every 5 seconds */ but the code looks to try for each request more than 5 seconds after the dead server was first noticed. If I'm correct, does the following (untested) patch make sense? Index: memcache/apr_memcache.c ==