You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2014/03/20 10:05:49 UTC

couchdb commit: updated refs/heads/1986-recbuf-fix to 7365f57

Repository: couchdb
Updated Branches:
  refs/heads/1986-recbuf-fix 514339092 -> 7365f5771 (forced update)


Increase Mochiweb RECBUF up to 32768 bytes

Magically solves slow big documents uploading issue
for FreeBSD 10 and OSX 10.9.2

COUCHDB-1986


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

Branch: refs/heads/1986-recbuf-fix
Commit: 7365f57714168e4fbfb603e51b95d201f7cce787
Parents: ce3e89d
Author: Alexander Shorin <kx...@apache.org>
Authored: Thu Mar 20 12:55:16 2014 +0400
Committer: Alexander Shorin <kx...@apache.org>
Committed: Thu Mar 20 12:55:16 2014 +0400

----------------------------------------------------------------------
 etc/couchdb/default.ini.tpl.in | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/7365f577/etc/couchdb/default.ini.tpl.in
----------------------------------------------------------------------
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in
index 3267001..3a17540 100644
--- a/etc/couchdb/default.ini.tpl.in
+++ b/etc/couchdb/default.ini.tpl.in
@@ -50,6 +50,7 @@ allow_jsonp = false
 ;server_options = [{backlog, 128}, {acceptor_pool_size, 16}]
 ; For more socket options, consult Erlang's module 'inet' man page.
 ;socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}]
+socket_options = [{recbuf, 32768}] ; COUCHDB-1986
 log_max_chunk_size = 1000000
 enable_cors = false