diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2011-08-17 18:06:01 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2011-08-17 18:06:01 +0100 |
commit | e4d502ffeb3b7d2d43e94e9bedc6ed54edefbdbd (patch) | |
tree | 49f262352ce58d7952aed824183a4016efe24dfb | |
parent | 8e7dc82bd3c5b5677feb830cef86d8eaef253425 (diff) | |
download | rabbitmq-server-bug24350.tar.gz |
I refer you to bug24285#c40bug24350
-rw-r--r-- | src/rabbit_limiter.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_limiter.erl b/src/rabbit_limiter.erl index 66a4f89b..24468a01 100644 --- a/src/rabbit_limiter.erl +++ b/src/rabbit_limiter.erl @@ -108,7 +108,7 @@ unregister(Limiter, QPid) -> maybe_cast(Limiter, {unregister, QPid}). get_limit(Limiter) -> rabbit_misc:with_exit_handler( fun () -> 0 end, - fun () -> maybe_call(Limiter, get_limit, ok) end). + fun () -> maybe_call(Limiter, get_limit, 0) end). block(Limiter) -> maybe_call(Limiter, block, ok). |