Skip to content

Commit acc5ad3

Browse files
gomoripetimichaelklishin
authored andcommitted
Remove outdated comment from rabbit_msg_store
The value `close` is never stored in the file handle ets since commit 32816c0.
1 parent 1170d08 commit acc5ad3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

deps/rabbit/src/rabbit_msg_store.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,8 +1499,7 @@ writer_close(#writer{fd = Fd}) ->
14991499
file:close(Fd).
15001500

15011501
mark_handle_open(FileHandlesEts, File, Ref) ->
1502-
%% This is fine to fail (already exists). Note it could fail with
1503-
%% the value being close, and not have it updated to open.
1502+
%% This is fine to fail (already exists).
15041503
ets:insert_new(FileHandlesEts, {{Ref, File}, erlang:monotonic_time()}),
15051504
true.
15061505

0 commit comments

Comments
 (0)