summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-20 22:49:18 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-20 22:49:18 +0100
commit60a75a58c7edf09668ab9770f49a4556539d8b87 (patch)
treec8175e49cdb63762830c0b3c27a42aa9c2a9a5fb
parentcab1334151fcb54c979075742a1441dc3cd63166 (diff)
downloadrabbitmq-server-bug22992.tar.gz
reformatted commentsbug22992
-rw-r--r--src/rabbit_mnesia.erl10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl
index 7e1b8a9f..689f799d 100644
--- a/src/rabbit_mnesia.erl
+++ b/src/rabbit_mnesia.erl
@@ -184,10 +184,12 @@ table_definitions() ->
[{record_name, reverse_route},
{attributes, record_info(fields, reverse_route)},
{type, ordered_set}]},
- {rabbit_durable_exchange, % if you change this entry,
- [{record_name, exchange}, % consider the implications
- {attributes, record_info(fields, exchange)}, % on nodes_of_type/1
- {disc_copies, [node()]}]}, % <--- this line is particularly important
+ %% Consider the implications to nodes_of_type/1 before altering
+ %% the next entry.
+ {rabbit_durable_exchange,
+ [{record_name, exchange},
+ {attributes, record_info(fields, exchange)},
+ {disc_copies, [node()]}]},
{rabbit_exchange,
[{record_name, exchange},
{attributes, record_info(fields, exchange)}]},