couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [2/3] couch-replicator commit: updated refs/heads/master to fb6826f
Date Mon, 12 Jan 2015 22:48:22 GMT
Set get_details timeout to default 5 sec

This would also affect timeout for cancel_replication.

COUCHDB-2540


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/commit/b8186509
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/b8186509
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/b8186509

Branch: refs/heads/master
Commit: b8186509a65c0eb64e075681f50699616bfd1c7c
Parents: e6f839b
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Mon Jan 12 07:31:49 2015 -0800
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Mon Jan 12 09:43:14 2015 -0800

----------------------------------------------------------------------
 src/couch_replicator.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/b8186509/src/couch_replicator.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator.erl b/src/couch_replicator.erl
index 5686283..6e86a8f 100644
--- a/src/couch_replicator.erl
+++ b/src/couch_replicator.erl
@@ -238,7 +238,7 @@ find_replicator({BaseId, Ext} = _RepId) ->
     end.
 
 details(Pid) ->
-    case (catch gen_server:call(Pid, get_details, infinity)) of
+    case (catch gen_server:call(Pid, get_details)) of
     {ok, Rep} ->
         {ok, Rep};
     {'EXIT', {noproc, {gen_server, call, _}}} ->


Mime
View raw message