You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by dj...@apache.org on 2014/04/01 19:42:28 UTC

[46/50] [abbrv] couchdb commit: updated refs/heads/1.6.x to d2ac597

Increase mochiweb socket buffers up to 256KiB

This dramatically improves replication speed for large documents and
attachments and resolves replication test timeout for FreeBSD 10 and
OSX 10.9.2

Fixes COUCHDB-1986


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

Branch: refs/heads/1.6.x
Commit: 9a0e561b1f3bc34810dd9112ab0a3fe3722c9a54
Parents: ce352c8
Author: Alexander Shorin <kx...@apache.org>
Authored: Tue Apr 1 15:45:57 2014 +0400
Committer: Alexander Shorin <kx...@apache.org>
Committed: Tue Apr 1 15:45:57 2014 +0400

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


http://git-wip-us.apache.org/repos/asf/couchdb/blob/9a0e561b/etc/couchdb/default.ini.tpl.in
----------------------------------------------------------------------
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in
index 32537e0..a0dd7db 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, 262144}, {sndbuf, 262144}]
 log_max_chunk_size = 1000000
 enable_cors = false
 ; CouchDB can optionally enforce a maximum uri length;