couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r1003726 - /couchdb/branches/1.0.x/src/couchdb/couch_view.erl
Date Sat, 02 Oct 2010 01:12:43 GMT
Author: jchris
Date: Sat Oct  2 01:12:43 2010
New Revision: 1003726

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

Modified:
    couchdb/branches/1.0.x/src/couchdb/couch_view.erl

Modified: couchdb/branches/1.0.x/src/couchdb/couch_view.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/src/couchdb/couch_view.erl?rev=1003726&r1=1003725&r2=1003726&view=diff
==============================================================================
--- couchdb/branches/1.0.x/src/couchdb/couch_view.erl (original)
+++ couchdb/branches/1.0.x/src/couchdb/couch_view.erl Sat Oct  2 01:12:43 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 ->



Mime
View raw message