dev  

Re: apr_memcache 1.3.X sending unnecessary QUIT to memcached server

peter baer
Thu, 02 Oct 2008 21:09:38 -0700

Hi Bojan,

First, I'd like to say thank you for the quick response. The ttl is in
fact in microseconds. The documentation seems to be incorrect:
apr_memcache_server_create() ttl - time to live in seconds of a client
connection.

Also, if you look at the apr_reslist_create() documentation, it states
that the ttl "if non-zero, sets the maximum amount of time a resource
may be available while exceeding the soft limit. ". Why then is the
destructor being called for all resources that expire, even those
below the "min"?

Thanks,
Peter Baer