Merge pull request #14003 from rabbitmq/fix-federation
Trigger a 4.2.x alpha release build / trigger_alpha_build (push) Waiting to run
Details
Test (make) / Build and Xref (1.17, 26) (push) Waiting to run
Details
Test (make) / Build and Xref (1.17, 27) (push) Waiting to run
Details
Test (make) / Test (1.17, 27, khepri) (push) Waiting to run
Details
Test (make) / Test (1.17, 27, mnesia) (push) Waiting to run
Details
Test (make) / Test mixed clusters (1.17, 27, khepri) (push) Waiting to run
Details
Test (make) / Test mixed clusters (1.17, 27, mnesia) (push) Waiting to run
Details
Test (make) / Type check (1.17, 27) (push) Waiting to run
Details
Trigger a 4.2.x alpha release build / trigger_alpha_build (push) Waiting to run
Details
Test (make) / Build and Xref (1.17, 26) (push) Waiting to run
Details
Test (make) / Build and Xref (1.17, 27) (push) Waiting to run
Details
Test (make) / Test (1.17, 27, khepri) (push) Waiting to run
Details
Test (make) / Test (1.17, 27, mnesia) (push) Waiting to run
Details
Test (make) / Test mixed clusters (1.17, 27, khepri) (push) Waiting to run
Details
Test (make) / Test mixed clusters (1.17, 27, mnesia) (push) Waiting to run
Details
Test (make) / Type check (1.17, 27) (push) Waiting to run
Details
Federation: move ETS initialisation to supervisor
This commit is contained in:
commit
50c095d25a
|
@ -16,7 +16,6 @@
|
|||
-export([init/1]).
|
||||
|
||||
start(_Type, _StartArgs) ->
|
||||
?FEDERATION_ETS = ets:new(?FEDERATION_ETS, [set, public, named_table]),
|
||||
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
|
||||
|
||||
stop(_State) ->
|
||||
|
|
|
@ -45,6 +45,7 @@ stop() ->
|
|||
%%----------------------------------------------------------------------------
|
||||
|
||||
init([]) ->
|
||||
?FEDERATION_ETS = ets:new(?FEDERATION_ETS, [set, public, named_table]),
|
||||
Status = #{
|
||||
id => status,
|
||||
start => {rabbit_federation_status, start_link, []},
|
||||
|
|
Loading…
Reference in New Issue