summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2019-03-13 23:53:52 +0300
committerMichael Klishin <michael@clojurewerkz.org>2019-03-13 23:53:52 +0300
commit32c575a1c0fb29346cd0e16fb40faefbb064fd78 (patch)
tree88381c6976ac981a9ad81c2b09132f0e4f3e729c /src
parent78264bfaaea2da9d6f2e6b56f050ab81e9a7d87d (diff)
downloadrabbitmq-server-git-32c575a1c0fb29346cd0e16fb40faefbb064fd78.tar.gz
Treat rabbit_direct boot step as enabling listeners
Since it makes direct Erlang client connections possible. References #1689.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index 19e0e59710..003abd141f 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -199,12 +199,6 @@
[{description, "message delivery logic ready"},
{requires, [core_initialized, recovery]}]}).
--rabbit_boot_step({direct_client,
- [{description, "direct client"},
- {mfa, {rabbit_direct, boot, []}},
- {requires, routing_ready}
- ]}).
-
-rabbit_boot_step({connection_tracking,
[{description, "connection tracking infrastructure"},
{mfa, {rabbit_connection_tracking, boot, []}},
@@ -234,6 +228,12 @@
[{description, "ready to communicate with peers and clients"},
{requires, [core_initialized, recovery, routing_ready]}]}).
+-rabbit_boot_step({direct_client,
+ [{description, "direct client"},
+ {mfa, {rabbit_direct, boot, []}},
+ {requires, pre_flight}
+ ]}).
+
-rabbit_boot_step({notify_cluster,
[{description, "notifies cluster peers of our presence"},
{mfa, {rabbit_node_monitor, notify_node_up, []}},