Skip to content
Discussion options

You must be logged in to vote

By default, RabbitMQ only checks every 60 seconds to see if consumers have exceeded the timeout. This is configured by the channel_tick_interval setting.

So, if for your test you'd like to have 2000ms consumer timeout, you need to also adjust channel_tick_interval via the advanced.config file:

[
    {rabbit, [
        {channel_tick_interval, 1000}
    ]}
].

If you're curious where these values are used, see the following:

https://github.com/rabbitmq/rabbitmq-server/blob/main/deps/rabbit/src/rabbit_channel.erl#L2793-L2795

https://github.com/rabbitmq/rabbitmq-server/blob/main/deps/rabbit/src/rabbit_channel.erl#L848-L858

https://github.com/rabbitmq/rabbitmq-server/blob/main/deps/rabbit/src/…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by simpadjo
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@lukebakken
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants