diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2011-05-25 12:35:21 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2011-05-25 12:35:21 +0100 |
commit | ed73a0d3c85aa3bd0fe7226f4c3c7de0f1452f02 (patch) | |
tree | 093c7679d67e8b262e5d885f594af3a3dbce002e /src | |
parent | 0e0bcf22aad825811ccb7b633bfcfa134dde3d0e (diff) | |
download | rabbitmq-server-ed73a0d3c85aa3bd0fe7226f4c3c7de0f1452f02.tar.gz |
Not quite sure how I managed to get that quite so wrong...
Diffstat (limited to 'src')
-rw-r--r-- | src/rabbit_amqqueue.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl index 50f5a9da..268199e5 100644 --- a/src/rabbit_amqqueue.erl +++ b/src/rabbit_amqqueue.erl @@ -259,8 +259,7 @@ with(Name, F, E) -> {ok, Q = #amqqueue{mirror_pids = []}} -> rabbit_misc:with_exit_handler(E, fun () -> F(Q) end); {ok, Q} -> - timer:sleep(25), - E1 = fun () -> with(Name, F, E) end, + E1 = fun () -> timer:sleep(25), with(Name, F, E) end, rabbit_misc:with_exit_handler(E1, fun () -> F(Q) end); {error, not_found} -> E() |