From 4575411a865fe5243695949cf82734ca91bd5aed Mon Sep 17 00:00:00 2001 From: Matteo Cafasso Date: Thu, 20 Feb 2025 23:30:10 +0200 Subject: [PATCH] rabbit_backing_queue: pass mc:state() to discard callback (cherry picked from commit b49ba9630aaabf46b61e62e549382cdab6c5c867) --- deps/rabbit/src/rabbit_backing_queue.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/rabbit/src/rabbit_backing_queue.erl b/deps/rabbit/src/rabbit_backing_queue.erl index 931830aaeb62..5bae9eef6067 100644 --- a/deps/rabbit/src/rabbit_backing_queue.erl +++ b/deps/rabbit/src/rabbit_backing_queue.erl @@ -105,7 +105,7 @@ %% Called to inform the BQ about messages which have reached the %% queue, but are not going to be further passed to BQ. --callback discard(rabbit_types:basic_message(), pid(), state()) -> state(). +-callback discard(mc:state(), pid(), state()) -> state(). %% Return ids of messages which have been confirmed since the last %% invocation of this function (or initialisation).