From 5f04225397fd7f752ab83f8dbf3c2a56ba7a455d Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Mon, 28 Nov 2016 15:28:57 +0300 Subject: Make it possible to disable background GC and make the interval configurable via config file. Kudos to Kyle O'Donnell and his team for contributing a patch that was included with minor modifications: https://groups.google.com/forum/#!topic/rabbitmq-users/gdqLpdWbop0. Fixes #1026. --- src/rabbit.app.src | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/rabbit.app.src') diff --git a/src/rabbit.app.src b/src/rabbit.app.src index dd38ad4072..9c30876c1d 100644 --- a/src/rabbit.app.src +++ b/src/rabbit.app.src @@ -107,5 +107,7 @@ {passphrase, undefined} ]}, %% rabbitmq-server-973 - {lazy_queue_explicit_gc_run_operation_threshold, 250} + {lazy_queue_explicit_gc_run_operation_threshold, 250}, + {background_gc_enabled, true}, + {background_gc_target_interval, 60000} ]}]}. -- cgit v1.2.1