You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2017/07/12 16:16:04 UTC

[couchdb] branch optimize-ddoc-cache updated: FIXUP: Tyypoo

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


The following commit(s) were added to refs/heads/optimize-ddoc-cache by this push:
     new 59fa9fd  FIXUP: Tyypoo
59fa9fd is described below

commit 59fa9fdbd6e47893d9b14dfd927698977e9f320d
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Wed Jul 12 11:15:57 2017 -0500

    FIXUP: Tyypoo
---
 src/ddoc_cache/src/ddoc_cache_entry.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ddoc_cache/src/ddoc_cache_entry.erl b/src/ddoc_cache/src/ddoc_cache_entry.erl
index 85108e7..63a2efa 100644
--- a/src/ddoc_cache/src/ddoc_cache_entry.erl
+++ b/src/ddoc_cache/src/ddoc_cache_entry.erl
@@ -199,7 +199,7 @@ handle_cast(force_refresh, St) ->
     % We remove the cache entry value so that any
     % new client comes to us for the refreshed
     % value.
-    true = ets:update_element(?CACHE, St#st.key, {#entry.value, undefined}),
+    true = ets:update_element(?CACHE, St#st.key, {#entry.val, undefined}),
     handle_cast(refresh, NewSt);
 
 handle_cast(refresh, #st{accessed = 0} = St) ->

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].