summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Shorin <kxepal@apache.org>2014-03-20 12:55:16 +0400
committerAlexander Shorin <kxepal@apache.org>2014-03-20 12:55:16 +0400
commit7365f57714168e4fbfb603e51b95d201f7cce787 (patch)
tree4f3470c3e4944e49a7e759e5cd7c546c8cde8474
parentce3e89dc9fef25aa0e038e5a621a1e7c732e66e2 (diff)
downloadcouchdb-1986-recbuf-fix.tar.gz
Increase Mochiweb RECBUF up to 32768 bytes1986-recbuf-fix
Magically solves slow big documents uploading issue for FreeBSD 10 and OSX 10.9.2 COUCHDB-1986
-rw-r--r--etc/couchdb/default.ini.tpl.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in
index 3267001ae..3a1754043 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