Remove unused function

This commit is contained in:
Philip Kuryloski 2020-11-13 11:57:56 +01:00
parent d88b623c18
commit 8ff5273827
1 changed files with 0 additions and 10 deletions

View File

@ -886,13 +886,3 @@ find_leader([Server | Servers]) ->
qref({Ref, _}) -> Ref;
qref(Ref) -> Ref.
get_credit_mode(#{args := Args}) ->
case rabbit_misc:table_lookup(Args, <<"x-credit">>) of
{_Key, Value} ->
Value;
_ ->
simple_prefetch
end;
get_credit_mode(_) ->
simple_prefetch.