diff options
Diffstat (limited to 'docs/rabbitmq.config.example')
| -rw-r--r-- | docs/rabbitmq.config.example | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/rabbitmq.config.example b/docs/rabbitmq.config.example index 3e1137aa8b..aaffcab2d8 100644 --- a/docs/rabbitmq.config.example +++ b/docs/rabbitmq.config.example @@ -331,7 +331,22 @@ %% Size in bytes below which to embed messages in the queue index. See %% http://www.rabbitmq.com/persistence-conf.html %% - %% {queue_index_embed_msgs_below, 4096} + %% {queue_index_embed_msgs_below, 4096}, + + %% Whether or not to enable background periodic GC of all + %% Erlang processes in "waiting" state. + %% + %% Disabling background GC may reduce latency for client operations, + %% keeping it enabled may reduce median RAM usage. + %% + %% {background_gc_enabled, true}, + %% + %% Target (desired) interval (in milliseconds) at which we run background GC. + %% The actual interval will vary depending on how long it takes to execute + %% the operation (can be higher than this interval). Values less than + %% 30000 milliseconds are not recommended. + %% + %% {background_gc_target_interval, 60000} ]}, |
