Skip to content

Commit

Permalink
wal-query
Browse files Browse the repository at this point in the history
  • Loading branch information
kjnilsson committed May 22, 2024
1 parent f9e9a39 commit 9d985d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ra_log_wal.erl
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ format_status(#state{conf = #conf{write_strategy = Strat,

handle_op({cast, WalCmd}, State) ->
handle_msg(WalCmd, State);
handle_op({info, {query, Fun}}, State) ->
Fun(State),
State;
handle_op({info,{'EXIT', _, Reason}}, _State) ->
throw({stop, Reason}).

Expand Down

0 comments on commit 9d985d2

Please sign in to comment.