diff options
author | John Christopher Anderson <jchris@apache.org> | 2010-10-02 01:12:43 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2010-10-02 01:12:43 +0000 |
commit | b5948054619d1dc8598794b38e899f4660adc6de (patch) | |
tree | 8142132dba74dbc40208f86c9ec797e15a3a99c3 | |
parent | 482c902e36ea8cef3039c2b0b3c8644bc18d5b57 (diff) |
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
-rw-r--r-- | src/couchdb/couch_view.erl | 4 |
1 files changed, 2 insertions, 2 deletions
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 -> |