diff options
Diffstat (limited to 'src/rabbit_amqqueue_process.erl')
-rw-r--r-- | src/rabbit_amqqueue_process.erl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index cd56f098..ac19461c 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -1070,11 +1070,7 @@ handle_call({init, Recover}, From, false -> #q{backing_queue = undefined, backing_queue_state = undefined, q = #amqqueue{name = QName} = Q} = State, - %% If the connection has died then what we reply is somewhat - %% moot. But it seems reasonable to act as though the queue - %% was declared and then the connection died - we're only a - %% small timing difference away from that case anyway. - gen_server2:reply(From, {new, Q}), + gen_server2:reply(From, {owner_died, Q}), case Recover of new -> rabbit_log:warning( "exclusive owner for ~s went away~n", |