Author: jchris
Date: Sat Oct  2 00:50:49 2010
New Revision: 1003723

URL: http://svn.apache.org/viewvc?rev=1003723&view=rev
Log:
using an infinity timeout in places where we wait on disk io

Modified:
    couchdb/trunk/src/couchdb/couch_view.erl

Modified: couchdb/trunk/src/couchdb/couch_view.erl
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_view.erl?rev=1003723&r1=1003722&r2=1003723&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_view.erl (original)
+++ couchdb/trunk/src/couchdb/couch_view.erl Sat Oct  2 00:50:49 2010
@@ -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, Desig
 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 ->


Reply via email to