Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A7F9D37E for ; Sat, 29 Sep 2012 04:03:11 +0000 (UTC) Received: (qmail 7605 invoked by uid 500); 29 Sep 2012 04:03:11 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 7588 invoked by uid 500); 29 Sep 2012 04:03:11 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 7573 invoked by uid 99); 29 Sep 2012 04:03:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2012 04:03:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2012 04:03:08 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D796F2388A9B; Sat, 29 Sep 2012 04:02:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1391747 - in /subversion/branches/1.7.x: ./ STATUS subversion/libsvn_subr/cache-memcache.c Date: Sat, 29 Sep 2012 04:02:18 -0000 To: commits@subversion.apache.org From: svn-role@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120929040218.D796F2388A9B@eris.apache.org> Author: svn-role Date: Sat Sep 29 04:02:18 2012 New Revision: 1391747 URL: http://svn.apache.org/viewvc?rev=1391747&view=rev Log: Merge r1391641 from trunk: * r1391641 Convert cache time-to-live value from seconds to microseconds, which is the unit expected by the API. (An API doc error in the past was the likely cause of this problem.) Justification: 50 microseconds really isn't a sufficient lifespan for ... anything. Votes: +1: cmpilato, rhuijben, brane Modified: subversion/branches/1.7.x/ (props changed) subversion/branches/1.7.x/STATUS subversion/branches/1.7.x/subversion/libsvn_subr/cache-memcache.c Propchange: subversion/branches/1.7.x/ ------------------------------------------------------------------------------ Merged /subversion/trunk:r1391641 Modified: subversion/branches/1.7.x/STATUS URL: http://svn.apache.org/viewvc/subversion/branches/1.7.x/STATUS?rev=1391747&r1=1391746&r2=1391747&view=diff ============================================================================== --- subversion/branches/1.7.x/STATUS (original) +++ subversion/branches/1.7.x/STATUS Sat Sep 29 04:02:18 2012 @@ -146,15 +146,6 @@ Veto-blocked changes: Approved changes: ================= - * r1391641 - Convert cache time-to-live value from seconds to microseconds, which is - the unit expected by the API. (An API doc error in the past was the - likely cause of this problem.) - Justification: - 50 microseconds really isn't a sufficient lifespan for ... anything. - Votes: - +1: cmpilato, rhuijben, brane - * r1389928 Fix a 1.7.x test to pass within a format 30 working copy. Justification: Modified: subversion/branches/1.7.x/subversion/libsvn_subr/cache-memcache.c URL: http://svn.apache.org/viewvc/subversion/branches/1.7.x/subversion/libsvn_subr/cache-memcache.c?rev=1391747&r1=1391746&r2=1391747&view=diff ============================================================================== --- subversion/branches/1.7.x/subversion/libsvn_subr/cache-memcache.c (original) +++ subversion/branches/1.7.x/subversion/libsvn_subr/cache-memcache.c Sat Sep 29 04:02:18 2012 @@ -459,7 +459,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) */ &server); if (apr_err != APR_SUCCESS) {