Skip to content

Commit 78d2e89

Browse files
committed
Add other missing config properties from PROJECT_ENV to example config
1 parent 45f8143 commit 78d2e89

File tree

1 file changed

+41
-4
lines changed

1 file changed

+41
-4
lines changed

docs/rabbitmq.config.example

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,12 +355,17 @@
355355
%%
356356
%% {mnesia_table_loading_retry_timeout, 30000},
357357

358-
%% Size in bytes below which to embed messages in the queue index. See
359-
%% http://www.rabbitmq.com/persistence-conf.html
358+
%% Size in bytes below which to embed messages in the queue index.
359+
%% See http://www.rabbitmq.com/persistence-conf.html
360360
%%
361361
%% {queue_index_embed_msgs_below, 4096},
362362

363-
%% The credits that a queue process is given by the message store.
363+
%% Maximum number of queue index entries to keep in journal
364+
%% See http://www.rabbitmq.com/persistence-conf.html
365+
%%
366+
%% {queue_index_max_journal_entries, 32768},
367+
368+
%% Number of credits that a queue process is given by the message store
364369
%% By default, a queue process is given 4000 message store credits,
365370
%% and then 800 for every 800 messages that it processes.
366371
%%
@@ -371,15 +376,47 @@
371376
%%
372377
%% This value MUST be higher than the initial msg_store_credit_disc_bound value,
373378
%% otherwise paging performance may worsen.
379+
%%
374380
%% {msg_store_io_batch_size, 4096},
375381

382+
%% Number of credits that a connection, channel or queue are given
383+
%% By default, every connection, channel or queue is given 400 credits,
384+
%% and then 200 for every 200 messages that it processes
385+
%% See https://www.rabbitmq.com/blog/2015/10/06/new-credit-flow-settings-on-rabbitmq-3-5-5/
386+
%%
387+
%% {credit_flow_default_credit, {400, 200}},
388+
389+
%% Number of milliseconds before a channel operation times out
390+
%%
391+
%% {channel_operation_timeout, 15000},
392+
393+
%% Number of queue operations required to trigger an explicit garbage collection
394+
%%
395+
%% {queue_explicit_gc_run_operation_threshold, 1000},
396+
397+
%% Number of lazy queue operations required to trigger an explicit garbage collection
398+
%%
399+
%% {lazy_queue_explicit_gc_run_operation_threshold, 1000},
400+
376401
%% Whether or not to enable background GC.
377402
%%
378403
%% {background_gc_enabled, false},
379404
%%
380405
%% Interval (in milliseconds) at which we run background GC.
381406
%%
382-
%% {background_gc_target_interval, 60000}
407+
%% {background_gc_target_interval, 60000},
408+
409+
%% File size in bytes used for persisting messages
410+
%%
411+
%% {msg_store_file_size_limit, 16777216},
412+
413+
%% Whether or not to enable write file handle cache buffering
414+
%%
415+
%% {fhc_write_buffering, true},
416+
417+
%% Whether or not to enable read file handle cache buffering
418+
%%
419+
%% {fhc_read_buffering, false}
383420

384421
]},
385422

0 commit comments

Comments
 (0)