Skip to content

Commit d6d9e98

Browse files
Merge pull request #1253 from FabianPonce/fix-gc-docs-stable
Improve documentation around new default for background garbage collection
2 parents 9154750 + 7cd2ca4 commit d6d9e98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/rabbitmq.config.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325

326326
%% Whether or not to enable background GC.
327327
%%
328-
%% {background_gc_enabled, true},
328+
%% {background_gc_enabled, false},
329329
%%
330330
%% Interval (in milliseconds) at which we run background GC.
331331
%%

src/background_gc.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ interval_gc(State = #state{last_interval = LastInterval}) ->
7474
State#state{last_interval = Interval}.
7575

7676
gc() ->
77-
Enabled = rabbit_misc:get_env(rabbit, background_gc_enabled, true),
77+
Enabled = rabbit_misc:get_env(rabbit, background_gc_enabled, false),
7878
case Enabled of
7979
true ->
8080
[garbage_collect(P) || P <- processes(),

0 commit comments

Comments
 (0)