summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_httpd_show.erl
diff options
context:
space:
mode:
authorDamien F. Katz <damien@apache.org>2009-02-17 14:01:51 +0000
committerDamien F. Katz <damien@apache.org>2009-02-17 14:01:51 +0000
commit3b431fc0b30c5fb110afd06347058727724f0fb2 (patch)
tree5370bd65fdf8a586d415a03da6c5fb367d569f25 /src/couchdb/couch_httpd_show.erl
parent15976c8008473c9d8a97e0bf50f760faab12ee15 (diff)
Put file ref_counting into it's own module, to make the speed of opening an already open database faster (by not waiting on file pending operations, particularly fsync).
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@745076 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_httpd_show.erl')
-rw-r--r--src/couchdb/couch_httpd_show.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd_show.erl b/src/couchdb/couch_httpd_show.erl
index 39c6cc1e..cc7d4d08 100644
--- a/src/couchdb/couch_httpd_show.erl
+++ b/src/couchdb/couch_httpd_show.erl
@@ -113,7 +113,7 @@ output_map_list(#httpd{mochi_req=MReq}=Req, Lang, ListSrc, View, Group, Db, Quer
% pass it into the view fold with closures
{ok, QueryServer} = couch_query_servers:start_view_list(Lang, ListSrc),
- StartListRespFun = fun(Req2, Etag, TotalViewCount, Offset) ->
+ StartListRespFun = fun(Req2, _Etag, TotalViewCount, Offset) ->
ExternalResp = couch_query_servers:render_list_head(QueryServer,
Req2, Db, TotalViewCount, Offset),
JsonResp = apply_etag(ExternalResp, CurrentEtag),