couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [4/4] couchdb commit: updated refs/heads/1.5.x to 6ae7805
Date Thu, 27 Mar 2014 13:07:20 GMT
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/6ae78057
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/6ae78057
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/6ae78057

Branch: refs/heads/1.5.x
Commit: 6ae780570de469e217c746eddfe61665a3c38e38
Parents: b84db75
Author: Robert Newson <rnewson@apache.org>
Authored: Thu Mar 27 13:05:22 2014 +0000
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu Mar 27 13:06:26 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/6ae78057/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 67e3a12..c86f5c7 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">>});


Mime
View raw message