Skip to content

Commit

Permalink
rabbitmq_sharding: support transactions on exchange callbacks
Browse files Browse the repository at this point in the history
(cherry picked from commit 4caa14e)
  • Loading branch information
dcorbacho authored and mergify[bot] committed Sep 26, 2023
1 parent 9a4c009 commit 7b79139
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ description() ->

serialise_events(_X) -> false.

create(none, X) ->
create(_Tx, X) ->
_ = maybe_start_sharding(X),
ok.

Expand All @@ -48,7 +48,7 @@ active_for(X) ->
end.

%% we have to remove the policy from ?SHARDING_TABLE
delete(none, X) ->
delete(_Tx, X) ->
_ = maybe_stop_sharding(X),
ok.

Expand Down

0 comments on commit 7b79139

Please sign in to comment.