diff options
| author | Matthias Radestock <matthias@lshift.net> | 2009-01-08 22:53:14 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@lshift.net> | 2009-01-08 22:53:14 +0000 |
| commit | 6ce643b65a4858d58c9c6e70dda300d832688e77 (patch) | |
| tree | 07c09ddc9b6a0867ae0c92384a182d010ad20269 /scripts/rabbitmq-server | |
| parent | 88a364ae3a9976e760be28637de7f039348ffad4 (diff) | |
| download | rabbitmq-server-git-6ce643b65a4858d58c9c6e70dda300d832688e77.tar.gz | |
replace gen_server:cast with gen_server2:cast in rabbit_limiter
The limiter is co-located with channels but interacts with queues
which may be on different nodes. It is therefore subject to the
message reordering problem of cross-node gen_server:cast - see bug
19749.
For consistency I replaced gen_server:call as well, though I left the
gen_server:start_link alone in order to avoid the (admittedly small)
penalty introduced by gen_server2's modified main loop.
Diffstat (limited to 'scripts/rabbitmq-server')
0 files changed, 0 insertions, 0 deletions
