Skip to content

Commit

Permalink
Merge pull request #3033 from rabbitmq/mk-higher-consumer-timeout-def…
Browse files Browse the repository at this point in the history
…ault

Bump consumer acknowledgement timeout default to 30 minutes
  • Loading branch information
michaelklishin authored May 11, 2021
2 parents 3919841 + 2793f5e commit 682b09c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions deps/rabbit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ define PROJECT_ENV
%% see rabbitmq-server#248
%% and rabbitmq-server#667
{channel_operation_timeout, 15000},
%% 15 minutes
{consumer_timeout, 900000},
%% See https://www.rabbitmq.com/consumers.html#acknowledgement-timeout
%% 30 minutes
{consumer_timeout, 1800000},

%% see rabbitmq-server#486
{autocluster,
Expand Down
4 changes: 2 additions & 2 deletions deps/rabbit/priv/schema/rabbit.schema
Original file line number Diff line number Diff line change
Expand Up @@ -1152,9 +1152,9 @@ end}.
[{datatype, {enum, [stop_node, continue, transient, persistent]}}]}.

%% Approximate maximum time a consumer can spend processing a message before
%% the channel is terminated, in milliseconds. Default is no timeout.
%% the channel is terminated, in milliseconds.
%%
%% {consumer_timeout, 10000},
%% {consumer_timeout, 1800000},

{mapping, "consumer_timeout", "rabbit.consumer_timeout", [
{datatype, integer},
Expand Down

0 comments on commit 682b09c

Please sign in to comment.