diff options
author | Randall Leeds <randall@apache.org> | 2011-09-12 20:52:44 +0000 |
---|---|---|
committer | Randall Leeds <randall@apache.org> | 2011-09-12 20:52:44 +0000 |
commit | 2a2f488b002f379f23d9ec9f64ed4170178b7227 (patch) | |
tree | 74100c9ad753289b464156dc11dd010d72a3e486 | |
parent | 74138b97823f307a6c4f7d82adb89d5814f8dc09 (diff) | |
download | couchdb-2a2f488b002f379f23d9ec9f64ed4170178b7227.tar.gz |
Increase default size for os process receives
Internal read buffers from erts/emulator/sys/*/sys.c show 64*1024
for UNIX and 4096 for Windows. In case any show/list/etc functions
return large responses this could reduce overhead slightly by
processing fewer messages and should have no negative effects.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1169919 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/couchdb/couch_os_process.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_os_process.erl b/src/couchdb/couch_os_process.erl index 6ef56b7a3..415cdbbab 100644 --- a/src/couchdb/couch_os_process.erl +++ b/src/couchdb/couch_os_process.erl @@ -20,7 +20,7 @@ -include("couch_db.hrl"). --define(PORT_OPTIONS, [stream, {line, 1024}, binary, exit_status, hide]). +-define(PORT_OPTIONS, [stream, {line, 4096}, binary, exit_status, hide]). -record(os_proc, {command, |