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 a54baa2c9968d192c3d91d21575e279a6cea865b Author: Paul J. Davis <[email protected]> AuthorDate: Thu Jul 6 13:07:55 2017 -0500 FIXUP: Comment on use of no_ddocid --- src/ddoc_cache/src/ddoc_cache_lru.erl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ddoc_cache/src/ddoc_cache_lru.erl b/src/ddoc_cache/src/ddoc_cache_lru.erl index 5d47639..cbe481e 100644 --- a/src/ddoc_cache/src/ddoc_cache_lru.erl +++ b/src/ddoc_cache/src/ddoc_cache_lru.erl @@ -158,6 +158,10 @@ handle_cast({do_refresh, DbName, DDocIdList}, St) -> #st{ dbs = Dbs } = St, + % We prepend no_ddocid to the DDocIdList below + % so that we refresh all custom and validation + % function entries which load data from all + % design documents. case khash:lookup(Dbs, DbName) of {value, DDocIds} -> lists:foreach(fun(DDocId) -> -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
