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 09:55:52 UTC

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

Repository: couchdb
Updated Branches:
  refs/heads/1986-recbuf-fix [created] 514339092


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

Branch: refs/heads/1986-recbuf-fix
Commit: 514339092e710482c6c8d4ec51c961718bc6bdb1
Parents: ce3e89d
Author: Alexander Shorin <kx...@gmail.com>
Authored: Thu Mar 20 12:55:16 2014 +0400
Committer: Alexander Shorin <kx...@gmail.com>
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/51433909/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