summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-07-14 16:32:29 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-07-14 16:32:29 -0400
commit13a8075c07f148626049ac780f472898c4e2b76c (patch)
treef6b59249a656157d3d7ad57516c5fc460e51ffb1
parent69d30df9ac93976743c3decf56c471508cb6f897 (diff)
5 minute default timeout for sync_reply
-rw-r--r--src/rexi.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rexi.erl b/src/rexi.erl
index 21250210..8ab1f05e 100644
--- a/src/rexi.erl
+++ b/src/rexi.erl
@@ -61,9 +61,9 @@ reply(Reply) ->
{Caller, Ref} = get(rexi_from),
erlang:send(Caller, {Ref,Reply}).
-%% @equiv sync_reply(Reply, infinity)
+%% @equiv sync_reply(Reply, 300000)
sync_reply(Reply) ->
- sync_reply(Reply, infinity).
+ sync_reply(Reply, 300000).
%% @doc convenience function to reply to caller and wait for response. Message
%% is of the form {OriginalRef, {self(),reference()}, Reply}, which enables the