couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject couch commit: updated refs/heads/add-filter-revs-limit to 1628a3a
Date Thu, 01 Oct 2015 19:02:16 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/add-filter-revs-limit bb82dd6ae -> 1628a3ae9


Switch config section to query_server_config


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/1628a3ae
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/1628a3ae
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/1628a3ae

Branch: refs/heads/add-filter-revs-limit
Commit: 1628a3ae9180d55f386134cb5e18cd2d94f5588b
Parents: bb82dd6
Author: Russell Branca <chewbranca@apache.org>
Authored: Thu Oct 1 19:02:02 2015 +0000
Committer: Russell Branca <chewbranca@apache.org>
Committed: Thu Oct 1 19:02:02 2015 +0000

----------------------------------------------------------------------
 src/couch_query_servers.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/1628a3ae/src/couch_query_servers.erl
----------------------------------------------------------------------
diff --git a/src/couch_query_servers.erl b/src/couch_query_servers.erl
index 6842e8d..d26e6af 100644
--- a/src/couch_query_servers.erl
+++ b/src/couch_query_servers.erl
@@ -296,7 +296,7 @@ filter_docs(Req, Db, DDoc, FName, Docs) ->
     #httpd{} = HttpReq ->
         couch_httpd_external:json_req_obj(HttpReq, Db)
     end,
-    Limit = config:get_integer("couchdb", "filter_revs_limit", 20),
+    Limit = config:get_integer("query_server_config", "filter_revs_limit", 20),
     JsonDocs = [couch_doc:to_json_obj(Doc, [{revs, Limit}]) || Doc <- Docs],
     [true, Passes] = ddoc_prompt(DDoc, [<<"filters">>, FName],
         [JsonDocs, JsonReq]),


Mime
View raw message