diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2015-01-27 12:08:30 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2015-01-27 12:08:30 +0000 |
| commit | 20e8a17990edaaa0c60ff3c9d39b3b82de369771 (patch) | |
| tree | 9eccda4b16c45912d60a6c7b0f0a18a0c298d305 | |
| parent | a9d34ca8112b9022a523cb0eaa3d5c701578bc68 (diff) | |
| download | rabbitmq-server-git-20e8a17990edaaa0c60ff3c9d39b3b82de369771.tar.gz | |
Change the default, update the example config.
| -rw-r--r-- | docs/rabbitmq.config.example | 7 | ||||
| -rw-r--r-- | ebin/rabbit_app.in | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/docs/rabbitmq.config.example b/docs/rabbitmq.config.example index fdb166ea70..7c185e5652 100644 --- a/docs/rabbitmq.config.example +++ b/docs/rabbitmq.config.example @@ -235,7 +235,12 @@ %% Timeout used when waiting for Mnesia tables in a cluster to %% become available. %% - %% {mnesia_table_loading_timeout, 30000} + %% {mnesia_table_loading_timeout, 30000}, + + %% 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} ]}, diff --git a/ebin/rabbit_app.in b/ebin/rabbit_app.in index 5ebef60828..918741438c 100644 --- a/ebin/rabbit_app.in +++ b/ebin/rabbit_app.in @@ -29,7 +29,7 @@ {heartbeat, 580}, {msg_store_file_size_limit, 16777216}, {queue_index_max_journal_entries, 65536}, - {queue_index_embed_msgs_below, 1024}, + {queue_index_embed_msgs_below, 4096}, {default_user, <<"guest">>}, {default_pass, <<"guest">>}, {default_user_tags, [administrator]}, |
