Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7E9A3200CD3 for ; Thu, 13 Jul 2017 19:59:38 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7D91516C869; Thu, 13 Jul 2017 17:59:38 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 06CCE16C870 for ; Thu, 13 Jul 2017 19:59:37 +0200 (CEST) Received: (qmail 20470 invoked by uid 500); 13 Jul 2017 17:59:37 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 20339 invoked by uid 99); 13 Jul 2017 17:59:37 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2017 17:59:37 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 8E54D87555; Thu, 13 Jul 2017 17:59:32 +0000 (UTC) Date: Thu, 13 Jul 2017 17:59:45 +0000 To: "commits@couchdb.apache.org" Subject: [couchdb] 14/24: FIXUP: Ignore unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: davisp@apache.org Reply-To: "commits@couchdb.apache.org" In-Reply-To: <149996877195.26296.3009052880166728632@gitbox.apache.org> References: <149996877195.26296.3009052880166728632@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: couchdb X-Git-Refname: refs/heads/optimize-ddoc-cache X-Git-Reftype: branch X-Git-Rev: 28be4a97450c43d13550aeed3868c5795904a580 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20170713175933.8E54D87555@gitbox.apache.org> archived-at: Thu, 13 Jul 2017 17:59:38 -0000 This is an automated email from the ASF dual-hosted git repository. davisp pushed a commit to branch optimize-ddoc-cache in repository https://gitbox.apache.org/repos/asf/couchdb.git commit 28be4a97450c43d13550aeed3868c5795904a580 Author: Paul J. Davis AuthorDate: Thu Jul 6 15:54:59 2017 -0500 FIXUP: Ignore unused variable --- src/ddoc_cache/src/ddoc_cache_lru.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ddoc_cache/src/ddoc_cache_lru.erl b/src/ddoc_cache/src/ddoc_cache_lru.erl index 6ae4de4..35173f4 100644 --- a/src/ddoc_cache/src/ddoc_cache_lru.erl +++ b/src/ddoc_cache/src/ddoc_cache_lru.erl @@ -177,7 +177,7 @@ handle_cast({do_refresh, DbName, DDocIdList}, St) -> lists:foreach(fun(DDocId) -> case khash:lookup(DDocIds, DDocId) of {value, Keys} -> - khash:fold(Keys, fun(Key, Pid, _) -> + khash:fold(Keys, fun(_, Pid, _) -> ddoc_cache_entry:refresh(Pid) end, nil); not_found -> -- To stop receiving notification emails like this one, please contact "commits@couchdb.apache.org" .