summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2014-03-27 13:05:22 +0000
committerRobert Newson <rnewson@apache.org>2014-03-27 13:05:47 +0000
commit5be029c3fb57b01e0b3a370ebd5416a8bd26fc51 (patch)
treec6b6b6fefcd3164e91bd80cdb3ea092fda1ae0fa
parent4decf45d02a90a099fc8eb685c5871bfebd9521f (diff)
downloadcouchdb-5be029c3fb57b01e0b3a370ebd5416a8bd26fc51.tar.gz
s/max/max_count
-rw-r--r--src/couchdb/couch_httpd_misc_handlers.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd_misc_handlers.erl b/src/couchdb/couch_httpd_misc_handlers.erl
index 67e3a122a..c86f5c7b6 100644
--- a/src/couchdb/couch_httpd_misc_handlers.erl
+++ b/src/couchdb/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">>});