summaryrefslogtreecommitdiff
path: root/src/fabric_util.erl
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-06-01 23:03:56 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-06-01 23:04:20 -0400
commitb12bcd244bdf743de8c91808cf03417b1ea9dde2 (patch)
treee1383862b4820bdc7e4e8ec8224cc2d5d9cb4d97 /src/fabric_util.erl
parent03caa800e099bf5d0425f22f64af76bdd24a8754 (diff)
all_docs resource w/o keylist, BugzID 10218
Diffstat (limited to 'src/fabric_util.erl')
-rw-r--r--src/fabric_util.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fabric_util.erl b/src/fabric_util.erl
index dd1aaf0a..e904b456 100644
--- a/src/fabric_util.erl
+++ b/src/fabric_util.erl
@@ -50,7 +50,6 @@ process_message(RefList, Keypos, Fun, Acc0, TimeoutRef, PerMsgTO) ->
{timeout, TimeoutRef} ->
timeout;
{Ref, Msg} ->
- io:format("process_message ~p ~p~n", [Ref, Msg]),
case lists:keyfind(Ref, Keypos, RefList) of
false ->
% this was some non-matching message which we will ignore
@@ -59,7 +58,6 @@ process_message(RefList, Keypos, Fun, Acc0, TimeoutRef, PerMsgTO) ->
Fun(Msg, Worker, Acc0)
end;
{Ref, From, Msg} ->
- io:format("process sync_reply {~p,~p} ~p~n", [Ref, From, Msg]),
case lists:keyfind(Ref, Keypos, RefList) of
false ->
{ok, Acc0};
@@ -68,7 +66,7 @@ process_message(RefList, Keypos, Fun, Acc0, TimeoutRef, PerMsgTO) ->
end;
{rexi_DOWN, _RexiMonPid, ServerPid, Reason} = Msg ->
showroom_log:message(alert, "rexi_DOWN ~p ~p", [ServerPid, Reason]),
- Fun(nil, Msg, Acc0)
+ Fun(Msg, nil, Acc0)
after PerMsgTO ->
timeout
end.