diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2011-09-17 12:01:00 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-09-17 12:01:00 +0100 |
| commit | c6d51e7aa6c33e8cd3ecb60bae072ec91407dfd5 (patch) | |
| tree | 938fb8d4184e09714f1cd2acb8f0193604fa1bba /include/rabbit.hrl | |
| parent | 55c65208603aa194b6959813e911754214730365 (diff) | |
| download | rabbitmq-server-git-c6d51e7aa6c33e8cd3ecb60bae072ec91407dfd5.tar.gz | |
extract correlation between consumer_count and limiter registration
...and fix a bug in the process: during consumer registration we were
using the *old* cr, with the old (and usually undefined) limiter, to
check whether the channel is blocked. Thus we would end up running
through the message queue unnecessarily. No big deal, but certainly
not what was intended.
Also, make the update_ch_record return the record, which makes the
function more composable.
Diffstat (limited to 'include/rabbit.hrl')
0 files changed, 0 insertions, 0 deletions
