summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2008-12-23 21:39:11 +0000
committerMatthias Radestock <matthias@lshift.net>2008-12-23 21:39:11 +0000
commite519cbe847cf449cf7d491bf2022d8c63a7f7b00 (patch)
treebd4850c98d3aa0c6524561c4dcd97872954157d2 /docs
parentd3cf883b712e6f5f815aaa8dbcbf993a5ed57ef1 (diff)
downloadrabbitmq-server-git-e519cbe847cf449cf7d491bf2022d8c63a7f7b00.tar.gz
handle the "no limiter" case more obviously
This is no semantic change since gen_server:cast(undefined, ...) returns 'ok'. However, it only does so because it catches the 'badarg' error thrown by erlang:send. It is probably more efficient to not attempt the send in the first place. Plus for documentation purposes, and to keep dialyzer happy, it is useful to state explicitly which functions are expected to be called on an 'undefined' limiter.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions