Skip to content

Commit 32c575a

Browse files
Treat rabbit_direct boot step as enabling listeners
Since it makes direct Erlang client connections possible. References #1689.
1 parent 78264bf commit 32c575a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/rabbit.erl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,6 @@
199199
[{description, "message delivery logic ready"},
200200
{requires, [core_initialized, recovery]}]}).
201201

202-
-rabbit_boot_step({direct_client,
203-
[{description, "direct client"},
204-
{mfa, {rabbit_direct, boot, []}},
205-
{requires, routing_ready}
206-
]}).
207-
208202
-rabbit_boot_step({connection_tracking,
209203
[{description, "connection tracking infrastructure"},
210204
{mfa, {rabbit_connection_tracking, boot, []}},
@@ -234,6 +228,12 @@
234228
[{description, "ready to communicate with peers and clients"},
235229
{requires, [core_initialized, recovery, routing_ready]}]}).
236230

231+
-rabbit_boot_step({direct_client,
232+
[{description, "direct client"},
233+
{mfa, {rabbit_direct, boot, []}},
234+
{requires, pre_flight}
235+
]}).
236+
237237
-rabbit_boot_step({notify_cluster,
238238
[{description, "notifies cluster peers of our presence"},
239239
{mfa, {rabbit_node_monitor, notify_node_up, []}},

0 commit comments

Comments
 (0)