Skip to content

Commit 84c59aa

Browse files
Ayanda-Dmergify[bot]
authored andcommitted
assert that quorum queues are always durable on initialization
(cherry picked from commit 54e9c97)
1 parent 586c3e3 commit 84c59aa

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
@@ -256,7 +256,7 @@ declare(Q, _Node) when ?amqqueue_is_quorum(Q) ->
256256

257257
start_cluster(Q) ->
258258
QName = amqqueue:get_name(Q),
259-
Durable = amqqueue:is_durable(Q),
259+
Durable = true = amqqueue:is_durable(Q),
260260
AutoDelete = amqqueue:is_auto_delete(Q),
261261
Arguments = amqqueue:get_arguments(Q),
262262
Opts = amqqueue:get_options(Q),

0 commit comments

Comments
 (0)