diff options
author | Robert Newson <rnewson@apache.org> | 2014-03-27 13:05:22 +0000 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2014-03-27 13:05:50 +0000 |
commit | 10c8fbc90f296c47613b604b6e5bc6f783f995c2 (patch) | |
tree | 1caa150f37cc43ec75ac57eb1f1f901e49d48a12 | |
parent | 477e8b3fe0976a05180513fd8cc3beb8c535bb25 (diff) | |
download | couchdb-10c8fbc90f296c47613b604b6e5bc6f783f995c2.tar.gz |
s/max/max_count
-rw-r--r-- | src/couchdb/couch_httpd_misc_handlers.erl | 2 |
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 57694075e..1dd9abae6 100644 --- a/src/couchdb/couch_httpd_misc_handlers.erl +++ b/src/couchdb/couch_httpd_misc_handlers.erl @@ -99,7 +99,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">>}); |