couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/4] couchdb commit: updated refs/heads/1.4.x to 5be029c
Date Thu, 27 Mar 2014 13:07:17 GMT
Repository: couchdb
Updated Branches:
  refs/heads/1.3.x 477e8b3fe -> 10c8fbc90
  refs/heads/1.4.x 4decf45d0 -> 5be029c3f
  refs/heads/1.5.x b84db75c8 -> 6ae780570
  refs/heads/master 27cc89cb7 -> 83cc81361


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/5be029c3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/5be029c3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/5be029c3

Branch: refs/heads/1.4.x
Commit: 5be029c3fb57b01e0b3a370ebd5416a8bd26fc51
Parents: 4decf45
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:05:47 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/5be029c3/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