diff options
author | Emile Joubert <emile@rabbitmq.com> | 2011-10-20 16:22:35 +0100 |
---|---|---|
committer | Emile Joubert <emile@rabbitmq.com> | 2011-10-20 16:22:35 +0100 |
commit | aade042ed7a485c21481bee2ffaf7652652711a2 (patch) | |
tree | 85a60f29187e5b02d49ee48753abf5e14f2c0751 /include | |
parent | 54e0b5f85c133dc164a4c927c42a278aabd7dbfa (diff) | |
download | rabbitmq-server-aade042ed7a485c21481bee2ffaf7652652711a2.tar.gz |
Refrain from resetting message expiry in message requeue
Diffstat (limited to 'include')
-rw-r--r-- | include/rabbit_backing_queue_spec.hrl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl index 20fe4234..4a657951 100644 --- a/include/rabbit_backing_queue_spec.hrl +++ b/include/rabbit_backing_queue_spec.hrl @@ -22,9 +22,6 @@ -type(attempt_recovery() :: boolean()). -type(purged_msg_count() :: non_neg_integer()). -type(confirm_required() :: boolean()). --type(message_properties_transformer() :: - fun ((rabbit_types:message_properties()) - -> rabbit_types:message_properties())). -type(async_callback() :: fun ((atom(), fun ((atom(), state()) -> state())) -> 'ok')). -type(duration() :: ('undefined' | 'infinity' | number())). @@ -51,7 +48,7 @@ -spec(fetch/2 :: (true, state()) -> {fetch_result(ack()), state()}; (false, state()) -> {fetch_result(undefined), state()}). -spec(ack/2 :: ([ack()], state()) -> {[rabbit_guid:guid()], state()}). --spec(requeue/3 :: ([ack()], message_properties_transformer(), state()) +-spec(requeue/2 :: ([ack()], state()) -> {[rabbit_guid:guid()], state()}). -spec(len/1 :: (state()) -> non_neg_integer()). -spec(is_empty/1 :: (state()) -> boolean()). |