Bump consumer acknowledgement timeout default to 30 minutes

Apparently 15 minutes is not enough for some. 1 hour seems to be
unreasonably long to our team, though.

References #2990, #3032
This commit is contained in:
Michael Klishin 2021-05-11 20:25:29 +03:00
parent 39198413e3
commit 2793f5ee9b
No known key found for this signature in database
GPG Key ID: E80EDCFA0CDB21EE
2 changed files with 5 additions and 4 deletions

View File

@ -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,

View File

@ -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},