Skip to content

Commit e0c5022

Browse files
author
Matthias Radestock
committed
slight resequencing of core process startup
- perform crucial check a bit earlier - start memory alarms as early as possible
1 parent 20ee9f4 commit e0c5022

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rabbit.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,13 @@ start(normal, []) ->
135135
ok = start_child(rabbit_log),
136136
ok = rabbit_hooks:start(),
137137

138-
ok = rabbit_amqqueue:start(),
138+
ok = rabbit_binary_generator:
139+
check_empty_content_body_frame_size(),
139140

140141
{ok, MemoryAlarms} = application:get_env(memory_alarms),
141142
ok = rabbit_alarm:start(MemoryAlarms),
142143

143-
ok = rabbit_binary_generator:
144-
check_empty_content_body_frame_size(),
144+
ok = rabbit_amqqueue:start(),
145145

146146
ok = start_child(rabbit_router),
147147
ok = start_child(rabbit_node_monitor)

0 commit comments

Comments
 (0)