From 65608e14e8911b33c30178d717d745edc9f66c17 Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Tue, 10 Mar 2009 17:59:50 +0000 Subject: 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 --- src/couchdb/couch_external_server.erl | 2 +- src/couchdb/couch_os_process.erl | 2 +- 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}). -- cgit v1.2.3