diff --git a/deps/rabbit/src/rabbit.erl b/deps/rabbit/src/rabbit.erl index 6e5d95d79297..c5b0eaaed26c 100644 --- a/deps/rabbit/src/rabbit.erl +++ b/deps/rabbit/src/rabbit.erl @@ -1761,8 +1761,8 @@ persist_static_configuration() -> {ok, {InitialCredit, MoreCreditAfter}} when is_integer(InitialCredit) andalso is_integer(MoreCreditAfter) andalso - InitialCredit > 0 andalso - MoreCreditAfter > 0 andalso + InitialCredit >= 0 andalso + MoreCreditAfter >= 0 andalso MoreCreditAfter =< InitialCredit -> {InitialCredit, MoreCreditAfter}; Other ->