Skip to content

Commit 506ef6b

Browse files
Merge pull request #13394 from rabbitmq/mergify/bp/v4.0.x/pr-13393
Run `rabbit_registry` boot step after `pre_boot` (backport #13381) (backport #13393)
2 parents 6955665 + a805a7d commit 506ef6b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

deps/rabbit/src/rabbit.erl

+7-7
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@
6565
{requires, pre_boot},
6666
{enables, external_infrastructure}]}).
6767

68+
-rabbit_boot_step({rabbit_registry,
69+
[{description, "plugin registry"},
70+
{mfa, {rabbit_sup, start_child,
71+
[rabbit_registry]}},
72+
{requires, pre_boot},
73+
{enables, database}]}).
74+
6875
-rabbit_boot_step({database,
6976
[{mfa, {rabbit_db, init, []}},
7077
{requires, file_handle_cache},
@@ -110,13 +117,6 @@
110117
-rabbit_boot_step({external_infrastructure,
111118
[{description, "external infrastructure ready"}]}).
112119

113-
-rabbit_boot_step({rabbit_registry,
114-
[{description, "plugin registry"},
115-
{mfa, {rabbit_sup, start_child,
116-
[rabbit_registry]}},
117-
{requires, external_infrastructure},
118-
{enables, kernel_ready}]}).
119-
120120
-rabbit_boot_step({rabbit_core_metrics,
121121
[{description, "core metrics storage"},
122122
{mfa, {rabbit_sup, start_child,

0 commit comments

Comments
 (0)