Skip to content
This repository was archived by the owner on Nov 18, 2020. It is now read-only.

Commit fe5d699

Browse files
committed
sets durable=true as default
1 parent e7541f2 commit fe5d699

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_routing_util.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ ensure_endpoint(_Dir, _Channel, {queue, undefined}, _Params, State) ->
9898
{ok, undefined, State};
9999

100100
ensure_endpoint(_, Channel, {queue, Name}, Params, State) ->
101-
Params1 = rabbit_misc:pset(durable, true, Params),
101+
Params1 = rabbit_misc:pmerge(durable, true, Params),
102102
Queue = list_to_binary(Name),
103103
State1 = case sets:is_element(Queue, State) of
104104
true -> State;

0 commit comments

Comments
 (0)