summaryrefslogtreecommitdiff
path: root/src/rabbit_fifo.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_fifo.hrl')
-rw-r--r--src/rabbit_fifo.hrl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_fifo.hrl b/src/rabbit_fifo.hrl
index 16e665f9df..2fae8c10ca 100644
--- a/src/rabbit_fifo.hrl
+++ b/src/rabbit_fifo.hrl
@@ -104,9 +104,9 @@
-record(cfg,
{name :: atom(),
resource :: rabbit_types:r('queue'),
- release_cursor_interval =
- {?RELEASE_CURSOR_EVERY, ?RELEASE_CURSOR_EVERY} ::
- non_neg_integer() | {non_neg_integer(), non_neg_integer()},
+ release_cursor_interval ::
+ undefined | non_neg_integer() |
+ {non_neg_integer(), non_neg_integer()},
dead_letter_handler :: option(applied_mfa()),
become_leader_handler :: option(applied_mfa()),
max_length :: option(non_neg_integer()),