diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2012-06-14 15:25:51 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2012-06-14 15:25:51 +0100 |
commit | ff0fe300a6c76599d02a926c0bb3cb5db6cc9276 (patch) | |
tree | c91ac7715da8058d54ac90fa7d5b16002bf1dd29 | |
parent | 253da8b76322449db4120aa52928e4ead5e2931c (diff) | |
download | rabbitmq-server-ff0fe300a6c76599d02a926c0bb3cb5db6cc9276.tar.gz |
Improve comment
-rw-r--r-- | src/rabbit_amqqueue.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl index c7747571..56bff257 100644 --- a/src/rabbit_amqqueue.erl +++ b/src/rabbit_amqqueue.erl @@ -166,7 +166,9 @@ [queue_name, channel_pid, consumer_tag, ack_required]). start() -> - on_node_down(node()), %% clear out remnants of old incarnation + %% Clear out remnants of old incarnation, in case we restarted + %% faster than other nodes handled DOWN messages from us. + on_node_down(node()), DurableQueues = find_durable_queues(), {ok, BQ} = application:get_env(rabbit, backing_queue_module), ok = BQ:start([QName || #amqqueue{name = QName} <- DurableQueues]), |