Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoguin committed Mar 11, 2024
1 parent adda481 commit f771754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/rabbit/src/rabbit_msg_store_gc.erl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ handle_cast({truncate, File, TruncateSize, ThresholdTimestamp}, State = #state{p
handle_cast({delete, File}, State = #state{pending = Pending}) ->
%% We drop any pending action because deletion takes precedence over truncation.
State1 = State#state{pending = maps:remove(File, Pending)},
{noreply, attempt_action(delete, [File], State1), hibernate};
{noreply, attempt_action(delete, [File], State1), hibernate}.

%% Run all pending actions.
handle_info({timeout, TimerRef, do_pending},
Expand Down

0 comments on commit f771754

Please sign in to comment.