Skip to content

Commit 0f2fed1

Browse files
mkuratczykmergify[bot]
authored andcommitted
Don't warn about dirty I/O scheduler count
(cherry picked from commit 954b861)
1 parent 0fb3634 commit 0f2fed1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

deps/rabbit/src/rabbit.erl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,6 @@
291291

292292
-define(APPS, [os_mon, mnesia, rabbit_common, rabbitmq_prelaunch, ra, sysmon_handler, rabbit, osiris]).
293293

294-
-define(DIRTY_IO_SCHEDULERS_WARNING_THRESHOLD, 10).
295-
296294
%% 1 minute
297295
-define(BOOT_START_TIMEOUT, 1 * 60 * 1000).
298296
%% 12 hours
@@ -1434,14 +1432,6 @@ warn_if_kernel_config_dubious() ->
14341432
#{domain => ?RMQLOG_DOMAIN_GLOBAL})
14351433
end
14361434
end,
1437-
DirtyIOSchedulers = erlang:system_info(dirty_io_schedulers),
1438-
case DirtyIOSchedulers < ?DIRTY_IO_SCHEDULERS_WARNING_THRESHOLD of
1439-
true -> ?LOG_WARNING(
1440-
"Erlang VM is running with ~b dirty I/O schedulers, "
1441-
"file I/O performance may worsen", [DirtyIOSchedulers],
1442-
#{domain => ?RMQLOG_DOMAIN_GLOBAL});
1443-
false -> ok
1444-
end,
14451435
IDCOpts = case application:get_env(kernel, inet_default_connect_options) of
14461436
undefined -> [];
14471437
{ok, Val} -> Val

0 commit comments

Comments
 (0)