summaryrefslogtreecommitdiff
path: root/src/couchdb
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-03-10 17:59:50 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-03-10 17:59:50 +0000
commit65608e14e8911b33c30178d717d745edc9f66c17 (patch)
tree16261f5e6d0f579d684cd9594f708374fe825be7 /src/couchdb
parent519037185db6ce37e4dbefb3b64e9024e55d0383 (diff)
fix gen_server calls to honor os_process_timeout
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@752194 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-rw-r--r--src/couchdb/couch_external_server.erl2
-rw-r--r--src/couchdb/couch_os_process.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_external_server.erl b/src/couchdb/couch_external_server.erl
index 08cb4d6b..d81c4f85 100644
--- a/src/couchdb/couch_external_server.erl
+++ b/src/couchdb/couch_external_server.erl
@@ -27,7 +27,7 @@ stop(Pid) ->
gen_server:cast(Pid, stop).
execute(Pid, JsonReq) ->
- gen_server:call(Pid, {execute, JsonReq}).
+ gen_server:call(Pid, {execute, JsonReq}, infinity).
% Gen Server Handlers
diff --git a/src/couchdb/couch_os_process.erl b/src/couchdb/couch_os_process.erl
index a6c7ef25..578017f8 100644
--- a/src/couchdb/couch_os_process.erl
+++ b/src/couchdb/couch_os_process.erl
@@ -51,7 +51,7 @@ read(Pid) ->
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}).