Skip to content

Commit a9df083

Browse files
author
Daniil Fedotov
committed
Duplicate line
1 parent 9b42b93 commit a9df083

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/rabbit_variable_queue.erl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,6 @@ start_msg_store(Refs, StartFunState, IsEmpty) when is_map(Refs); Refs == undefin
528528
Other ->
529529
error(Other)
530530
end,
531-
rabbit_file:read_term_file(msg_store_module_file(),
532-
[MsgStoreModule]),
533531
rabbit_log:info("Using ~p to provide message store", [MsgStoreModule]),
534532
ok = rabbit_sup:start_child(?TRANSIENT_MSG_STORE_SUP, rabbit_msg_store_vhost_sup,
535533
[?TRANSIENT_MSG_STORE_SUP,
@@ -550,8 +548,7 @@ start_msg_store(Refs, StartFunState, IsEmpty) when is_map(Refs); Refs == undefin
550548
end,
551549
lists:sort(VHosts)),
552550
%% When message store is started, we can save a module
553-
rabbit_file:write_term_file(msg_store_module_file(),
554-
[MsgStoreModule]),
551+
rabbit_file:write_term_file(msg_store_module_file(), [MsgStoreModule]),
555552
ok.
556553

557554
msg_store_module_file() ->

0 commit comments

Comments
 (0)