Skip to content

Commit 6bf5c31

Browse files
authored
Log missed net ticks, if possible (#16268)
This functionality was just added to OTP in erlang/otp#11031 and currently is not present in any released OTP versions. One day, it will give us some additional info in the logs though.
1 parent ee8ece2 commit 6bf5c31

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

deps/rabbit/src/rabbit.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,8 @@ do_run_postlaunch_phase(Plugins) ->
10261026
ok = application:set_env(prometheus, instrumenters, [],
10271027
[{persistent, true}]),
10281028

1029+
ok = application:set_env(kernel, log_missed_net_ticks, true),
1030+
10291031
%% However, we want to run their boot steps and actually start
10301032
%% them one by one, to ensure a dependency is fully started
10311033
%% before a plugin which depends on it gets a chance to start.

0 commit comments

Comments
 (0)