Remove unnecessary boot step
This commit is contained in:
parent
56e4ed5464
commit
cbb4efd893
|
|
@ -209,16 +209,6 @@
|
|||
[{description, "message delivery logic ready"},
|
||||
{requires, [core_initialized, recovery]}]}).
|
||||
|
||||
-rabbit_boot_step({connection_tracking,
|
||||
[{description, "connection tracking infrastructure"},
|
||||
{mfa, {rabbit_connection_tracking, boot, []}},
|
||||
{enables, routing_ready}]}).
|
||||
|
||||
-rabbit_boot_step({channel_tracking,
|
||||
[{description, "channel tracking infrastructure"},
|
||||
{mfa, {rabbit_channel_tracking, boot, []}},
|
||||
{enables, routing_ready}]}).
|
||||
|
||||
-rabbit_boot_step({background_gc,
|
||||
[{description, "background garbage collection"},
|
||||
{mfa, {rabbit_sup, start_restartable_child,
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@
|
|||
%% * rabbit_event
|
||||
-behaviour(rabbit_tracking).
|
||||
|
||||
-export([boot/0,
|
||||
update_tracked/1,
|
||||
-export([update_tracked/1,
|
||||
handle_cast/1,
|
||||
register_tracked/1,
|
||||
unregister_tracked/1,
|
||||
|
|
@ -44,12 +43,6 @@
|
|||
%% API
|
||||
%%
|
||||
|
||||
%% Sets up and resets channel tracking tables for this node.
|
||||
-spec boot() -> ok.
|
||||
|
||||
boot() ->
|
||||
ok.
|
||||
|
||||
-spec update_tracked(term()) -> ok.
|
||||
|
||||
update_tracked(Event) ->
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
[rabbit_event, ?MODULE, []]}},
|
||||
{cleanup, {gen_event, delete_handler,
|
||||
[rabbit_event, ?MODULE, []]}},
|
||||
{requires, [channel_tracking]},
|
||||
{requires, [tracking_metadata_store]},
|
||||
{enables, recovery}]}).
|
||||
|
||||
%%
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@
|
|||
%% * rabbit_event
|
||||
-behaviour(rabbit_tracking).
|
||||
|
||||
-export([boot/0,
|
||||
update_tracked/1,
|
||||
-export([update_tracked/1,
|
||||
handle_cast/1,
|
||||
register_tracked/1,
|
||||
unregister_tracked/1,
|
||||
|
|
@ -57,13 +56,6 @@
|
|||
|
||||
%% Behaviour callbacks
|
||||
|
||||
-spec boot() -> ok.
|
||||
|
||||
%% Sets up and resets connection tracking tables for this
|
||||
%% node.
|
||||
boot() ->
|
||||
ok.
|
||||
|
||||
-spec update_tracked(term()) -> ok.
|
||||
|
||||
update_tracked(Event) ->
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
[rabbit_event, ?MODULE, []]}},
|
||||
{cleanup, {gen_event, delete_handler,
|
||||
[rabbit_event, ?MODULE, []]}},
|
||||
{requires, [connection_tracking]},
|
||||
{requires, [tracking_metadata_store]},
|
||||
{enables, recovery}]}).
|
||||
|
||||
%%
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
%% * rabbit_connection_tracking
|
||||
%% * rabbit_channel_tracking
|
||||
|
||||
-callback boot() -> ok.
|
||||
-callback update_tracked(term()) -> ok.
|
||||
-callback handle_cast(term()) -> ok.
|
||||
-callback register_tracked(
|
||||
|
|
|
|||
Loading…
Reference in New Issue