Skip to content

Commit 22f34d5

Browse files
committed
Merge pull request #2034 from rabbitmq/rabbitmq-server-2030
Make default worker pool size configurable (cherry picked from commit e086f33)
1 parent 71e830f commit 22f34d5

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

priv/schema/rabbit.schema

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,13 @@ end}.
391391
{datatype, integer}
392392
]}.
393393

394+
%% Default worker process pool size. Used to limit maximum concurrency rate
395+
%% of certain operations, e.g. queue initialisation and recovery on node boot.
396+
397+
{mapping, "default_worker_pool_size", "rabbit.default_worker_pool_size", [
398+
{datatype, integer}, {validators, ["non_negative_integer"]}
399+
]}.
400+
394401
%% Password hashing implementation. Will only affect newly
395402
%% created users. To recalculate hash for an existing user
396403
%% it's necessary to update her password.

test/config_schema_SUITE_data/rabbit.snippets

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,14 @@ credential_validator.regexp = ^abc\\d+",
562562
[{rabbit,[{log, [{categories, [{connection, [{file, "file_name_connection"}]},
563563
{channel, [{file, "file_name_channel"}]}]}]}]}],
564564
[]},
565+
566+
{default_worker_pool_size,
567+
"default_worker_pool_size = 512",
568+
[{rabbit, [
569+
{default_worker_pool_size, 512}
570+
]}],
571+
[]},
572+
565573
{delegate_count,
566574
"delegate_count = 64",
567575
[{rabbit, [

0 commit comments

Comments
 (0)