Permalink
Browse files

Polling of destination mailbox size: TODO: reword commit msg

  • Loading branch information...
1 parent c330a65 commit 14dac2eed358aa0f2018d5765630f68cda51ed31 @slfritchie slfritchie committed Dec 9, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/riak_core_coverage_fsm.erl
View
6 src/riak_core_coverage_fsm.erl
@@ -239,7 +239,11 @@ waiting_results({{ReqId, VNode}, Results},
end;
Error ->
Mod:finish(Error, ModState),
- {stop, Error, StateData}
+ Reason = case Error of
+ {error, timeout} -> normal; % Avoid SASL complaint logs
+ _ -> Error
+ end,
+ {stop, Reason, StateData}
end;
waiting_results(timeout, #state{mod=Mod, mod_state=ModState}) ->
Mod:finish({error, timeout}, ModState).

0 comments on commit 14dac2e

Please sign in to comment.