couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject couchdb-mango git commit: Use a standard accessor for buffer config value
Date Tue, 21 Jul 2015 14:03:54 GMT
Repository: couchdb-mango
Updated Branches:
  refs/heads/2724-chunked-buffering a3e09e280 -> 20b8a051f


Use a standard accessor for buffer config value


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

Branch: refs/heads/2724-chunked-buffering
Commit: 20b8a051f99718591ad4013cc3d71696af12dcd6
Parents: a3e09e2
Author: Adam Kocoloski <adam@cloudant.com>
Authored: Tue Jul 21 10:03:41 2015 -0400
Committer: Adam Kocoloski <adam@cloudant.com>
Committed: Tue Jul 21 10:03:41 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/couchdb-mango/blob/20b8a051/src/mango_httpd.erl
----------------------------------------------------------------------
diff --git a/src/mango_httpd.erl b/src/mango_httpd.erl
index 785c283..817506a 100644
--- a/src/mango_httpd.erl
+++ b/src/mango_httpd.erl
@@ -239,7 +239,7 @@ run_find(Resp, Db, Sel, Opts) ->
         resp = Resp,
         prepend = "\r\n",
         kvs = [],
-        threshold = config:get_integer("httpd", "chunked_response_buffer", 1490)
+        threshold = chttpd:chunked_response_buffer_size()
     },
     mango_crud:find(Db, Sel, fun handle_doc/2, Acc0, Opts).
 


Mime
View raw message