Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 144bbb6

Browse files
Merge branch 'master' into ranch_proxy_header
2 parents 560b58c + a69599e commit 144bbb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rabbit_backing_queue.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,9 @@
255255

256256
%% Called prior to a publish or publish_delivered call. Allows the BQ
257257
%% to signal that it's already seen this message, (e.g. it was published
258-
%% or discarded previously) and thus the message should be dropped.
258+
%% or discarded previously) specifying whether to drop the message or reject it.
259259
-callback is_duplicate(rabbit_types:basic_message(), state())
260-
-> {boolean(), state()}.
260+
-> {{true, drop} | {true, reject} | boolean(), state()}.
261261

262262
-callback set_queue_mode(queue_mode(), state()) -> state().
263263

0 commit comments

Comments
 (0)