couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [05/10] couch commit: updated refs/heads/import-master-tmp to 247a772
Date Wed, 23 Apr 2014 10:25:41 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/1284cba0
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/1284cba0
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/1284cba0

Branch: refs/heads/import-master-tmp
Commit: 1284cba09671eb995ca03071c4fbdc24ff952b77
Parents: 8f0ab07
Author: Robert Newson <rnewson@apache.org>
Authored: Thu Mar 27 13:05:22 2014 +0000
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Apr 23 11:21:17 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/1284cba0/couch_httpd_misc_handlers.erl
----------------------------------------------------------------------
diff --git a/couch_httpd_misc_handlers.erl b/couch_httpd_misc_handlers.erl
index 67e3a12..c86f5c7 100644
--- a/couch_httpd_misc_handlers.erl
+++ b/couch_httpd_misc_handlers.erl
@@ -105,7 +105,7 @@ handle_restart_req(Req) ->
 
 
 handle_uuids_req(#httpd{method='GET'}=Req) ->
-    Max = list_to_integer(couch_config:get("uuids","max","1000")),
+    Max = list_to_integer(couch_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