Skip to content

Commit 3059182

Browse files
Merge pull request #13381 from rabbitmq/md/rabbit-registry-boot-step
Run `rabbit_registry` boot step after `pre_boot`
2 parents 79febc5 + 3867012 commit 3059182

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

deps/rabbit/src/rabbit.erl

Lines changed: 7 additions & 7 deletions
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)