Make default worker pool size configurable

Part of rabbitmq/rabbitmq-server#2030.
This commit is contained in:
Michael Klishin 2019-06-13 16:55:16 +03:00
parent a65728025c
commit 3df5316ed1
No known key found for this signature in database
GPG Key ID: E80EDCFA0CDB21EE
2 changed files with 15 additions and 0 deletions

View File

@ -391,6 +391,13 @@ end}.
{datatype, integer}
]}.
%% Default worker process pool size. Used to limit maximum concurrency rate
%% of certain operations, e.g. queue initialisation and recovery on node boot.
{mapping, "default_worker_pool_size", "rabbit.default_worker_pool_size", [
{datatype, integer}, {validators, ["non_negative_integer"]}
]}.
%% Password hashing implementation. Will only affect newly
%% created users. To recalculate hash for an existing user
%% it's necessary to update her password.

View File

@ -566,6 +566,14 @@ credential_validator.regexp = ^abc\\d+",
[{rabbit,[{log, [{categories, [{connection, [{file, "file_name_connection"}]},
{channel, [{file, "file_name_channel"}]}]}]}]}],
[]},
{default_worker_pool_size,
"default_worker_pool_size = 512",
[{rabbit, [
{default_worker_pool_size, 512}
]}],
[]},
{delegate_count,
"delegate_count = 64",
[{rabbit, [