couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r752194 - in /couchdb/trunk/src/couchdb: couch_external_server.erl couch_os_process.erl
Date Tue, 10 Mar 2009 17:59:51 GMT
Author: jchris
Date: Tue Mar 10 17:59:50 2009
New Revision: 752194

URL: http://svn.apache.org/viewvc?rev=752194&view=rev
Log:
fix gen_server calls to honor os_process_timeout

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

Modified: couchdb/trunk/src/couchdb/couch_external_server.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_external_server.erl?rev=752194&r1=752193&r2=752194&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_external_server.erl (original)
+++ couchdb/trunk/src/couchdb/couch_external_server.erl Tue Mar 10 17:59:50 2009
@@ -27,7 +27,7 @@
     gen_server:cast(Pid, stop).
 
 execute(Pid, JsonReq) ->
-    gen_server:call(Pid, {execute, JsonReq}).
+    gen_server:call(Pid, {execute, JsonReq}, infinity).
 
 % Gen Server Handlers
 

Modified: couchdb/trunk/src/couchdb/couch_os_process.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_os_process.erl?rev=752194&r1=752193&r2=752194&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_os_process.erl (original)
+++ couchdb/trunk/src/couchdb/couch_os_process.erl Tue Mar 10 17:59:50 2009
@@ -51,7 +51,7 @@
     gen_server:call(Pid, read).
 
 prompt(Pid, Data) ->
-    gen_server:call(Pid, {prompt, Data}).
+    gen_server:call(Pid, {prompt, Data}, infinity).
 
 async(Pid, Data, CallBack) ->
     gen_server:cast(Pid, {async, Data, CallBack}).



Mime
View raw message