summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2011-10-24 11:39:40 +0100
committerEmile Joubert <emile@rabbitmq.com>2011-10-24 11:39:40 +0100
commit2cef73fa13b632c611dd52b18a365ebe1849fef3 (patch)
treec4cea14a2d076cc30c01c61722350892322b1e10 /src
parent31fb2a346f5165fad369a37ee93d09a86a2347a0 (diff)
downloadrabbitmq-server-git-2cef73fa13b632c611dd52b18a365ebe1849fef3.tar.gz
Update escript and docs
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_backing_queue_qc.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rabbit_backing_queue_qc.erl b/src/rabbit_backing_queue_qc.erl
index 5cffa76d00..20036c4f45 100644
--- a/src/rabbit_backing_queue_qc.erl
+++ b/src/rabbit_backing_queue_qc.erl
@@ -42,7 +42,7 @@
messages, %% gb_trees of seqid => {msg_props, basic_msg}
acks, %% [{acktag, {seqid, {msg_props, basic_msg}}}]
confirms, %% set of msgid
- publishing}).%% int (induce long chain of publishes)
+ publishing}).%% int
%% Initialise model
@@ -155,6 +155,7 @@ qc_purge(#state{bqstate = BQ}) ->
%% Preconditions
+%% Create long queues by only allowing publishing
precondition(#state{publishing = Count}, {call, _Mod, Fun, _Arg})
when Count > 0, Fun /= publish ->
false;
@@ -320,7 +321,7 @@ postcondition(#state{bqstate = BQ, len = Len}, {call, _M, _F, _A}, _Res) ->
%% Helpers
-publish_multiple(C) ->
+publish_multiple(_C) ->
ok.
timeout(BQ, 0) ->