You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/03/27 14:07:18 UTC

[2/4] couchdb commit: updated refs/heads/1.3.x to 10c8fbc

s/max/max_count


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

Branch: refs/heads/1.3.x
Commit: 10c8fbc90f296c47613b604b6e5bc6f783f995c2
Parents: 477e8b3
Author: Robert Newson <rn...@apache.org>
Authored: Thu Mar 27 13:05:22 2014 +0000
Committer: Robert Newson <rn...@apache.org>
Committed: Thu Mar 27 13:05:50 2014 +0000

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


http://git-wip-us.apache.org/repos/asf/couchdb/blob/10c8fbc9/src/couchdb/couch_httpd_misc_handlers.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd_misc_handlers.erl b/src/couchdb/couch_httpd_misc_handlers.erl
index 5769407..1dd9aba 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">>});