couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rand...@apache.org
Subject svn commit: r1169919 - /couchdb/trunk/src/couchdb/couch_os_process.erl
Date Mon, 12 Sep 2011 20:52:45 GMT
Author: randall
Date: Mon Sep 12 20:52:44 2011
New Revision: 1169919

URL: http://svn.apache.org/viewvc?rev=1169919&view=rev
Log:
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.

Modified:
    couchdb/trunk/src/couchdb/couch_os_process.erl

Modified: couchdb/trunk/src/couchdb/couch_os_process.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_os_process.erl?rev=1169919&r1=1169918&r2=1169919&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_os_process.erl (original)
+++ couchdb/trunk/src/couchdb/couch_os_process.erl Mon Sep 12 20:52:44 2011
@@ -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,



Mime
View raw message