From b5948054619d1dc8598794b38e899f4660adc6de Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Sat, 2 Oct 2010 01:12:43 +0000 Subject: using an infinity timeout in places where we wait on disk io git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1003726 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_view.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/couchdb/couch_view.erl b/src/couchdb/couch_view.erl index 68f3bca9..ebd7a2d4 100644 --- a/src/couchdb/couch_view.erl +++ b/src/couchdb/couch_view.erl @@ -31,7 +31,7 @@ start_link() -> get_temp_updater(DbName, Language, DesignOptions, MapSrc, RedSrc) -> {ok, Group} = couch_view_group:open_temp_group(DbName, Language, DesignOptions, MapSrc, RedSrc), - case gen_server:call(couch_view, {get_group_server, DbName, Group}) of + case gen_server:call(couch_view, {get_group_server, DbName, Group}, infinity) of {ok, Pid} -> Pid; Error -> @@ -41,7 +41,7 @@ get_temp_updater(DbName, Language, DesignOptions, MapSrc, RedSrc) -> get_group_server(DbName, GroupId) -> case couch_view_group:open_db_group(DbName, GroupId) of {ok, Group} -> - case gen_server:call(couch_view, {get_group_server, DbName, Group}) of + case gen_server:call(couch_view, {get_group_server, DbName, Group}, infinity) of {ok, Pid} -> Pid; Error -> -- cgit v1.2.3