couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [couchdb] 24/24: FIXUP: Tyypoo
Date Thu, 13 Jul 2017 17:59:55 GMT
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 a71aea4ab49aa8173817383a6fc4493080aa4f80
Author: Paul J. Davis <paul.joseph.davis@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" <commits@couchdb.apache.org>.

Mime
View raw message