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 c850ec514fd022eb7a83eedb84cb2a1bf2efb813
Author: Paul J. Davis <[email protected]>
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
"[email protected]" <[email protected]>.

Reply via email to