[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1391641 - /subversion/trunk/subversion/libsvn_subr/cache-memcache.c

From: Blair Zajac <blair_at_orcaware.com>
Date: Sat, 29 Sep 2012 12:29:24 -0700

On 09/28/2012 01:34 PM, cmpilato_at_apache.org wrote:
> Author: cmpilato
> Date: Fri Sep 28 20:34:50 2012
> New Revision: 1391641
>
> URL: http://svn.apache.org/viewvc?rev=1391641&view=rev
> Log:
> * subversion/libsvn_subr/cache-memcache.c
> (add_memcache_server): Convert time-to-live value from seconds to
> the expected microseconds.
>

> ==============================================================================
> --- subversion/trunk/subversion/libsvn_subr/cache-memcache.c (original)
> +++ subversion/trunk/subversion/libsvn_subr/cache-memcache.c Fri Sep 28 20:34:50 2012
> @@ -470,7 +470,7 @@ add_memcache_server(const char *name,
> 0, /* min connections */
> 5, /* soft max connections */
> 10, /* hard max connections */
> - 50, /* connection time to live (secs) */
> + apr_time_from_sec(50), /* ttl (ms) */

Hi Mike,

ms is for milliseconds and µs for microseconds, I suggest changing 'ms'
to 'microseconds', as 'us' would be confusing.

Blair
Received on 2012-09-29 21:31:39 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.