couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [2/2] couch commit: updated refs/heads/master to 274efa5
Date Thu, 22 May 2014 10:55:16 GMT
s/max/max_count


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

Branch: refs/heads/master
Commit: 274efa57733d50c899685d40d1ef9340393c9eea
Parents: 9f15c31
Author: Robert Newson <rnewson@apache.org>
Authored: Thu Mar 27 13:05:22 2014 +0000
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu May 22 11:54:40 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/274efa57/src/couch_httpd_misc_handlers.erl
----------------------------------------------------------------------
diff --git a/src/couch_httpd_misc_handlers.erl b/src/couch_httpd_misc_handlers.erl
index 0a7feba..0cd7e7e 100644
--- a/src/couch_httpd_misc_handlers.erl
+++ b/src/couch_httpd_misc_handlers.erl
@@ -116,7 +116,7 @@ handle_restart_req(Req) ->
 
 
 handle_uuids_req(#httpd{method='GET'}=Req) ->
-    Max = list_to_integer(config:get("uuids","max","1000")),
+    Max = list_to_integer(config:get("uuids","max_count","1000")),
     Count = list_to_integer(couch_httpd:qs_value(Req, "count", "1")),
     case Count > Max of
         true -> throw({forbidden, <<"count parameter too large">>});


Mime
View raw message