couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject [35/41] couchdb commit: updated refs/heads/Update-Sidebar-Ui to c1e1423
Date Mon, 31 Mar 2014 19:46:29 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/83cc8136
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/83cc8136
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/83cc8136

Branch: refs/heads/Update-Sidebar-Ui
Commit: 83cc8136158dd526b74e6953ef2012704298cf57
Parents: 27cc89c
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:16 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/83cc8136/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