Skip to content

Commit 3aa5164

Browse files
Ayanda-Dmichaelklishin
authored andcommitted
assert that quorum queues are always durable on initialization
1 parent 88540b7 commit 3aa5164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_quorum_queue.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ declare(Q, _Node) when ?amqqueue_is_quorum(Q) ->
254254

255255
start_cluster(Q) ->
256256
QName = amqqueue:get_name(Q),
257-
Durable = amqqueue:is_durable(Q),
257+
Durable = true = amqqueue:is_durable(Q),
258258
AutoDelete = amqqueue:is_auto_delete(Q),
259259
Arguments = amqqueue:get_arguments(Q),
260260
Opts = amqqueue:get_options(Q),

0 commit comments

Comments
 (0)