Skip to content

Commit 566f412

Browse files
authored
Merge pull request #1499 from rabbitmq/rabbitmq-server-1497
Add delegate_count to Cuttlefish schema
2 parents 5f7d621 + b10c633 commit 566f412

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

priv/schema/rabbit.schema

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ end}.
546546
end
547547
}.
548548

549+
549550
%% Customising Socket Options.
550551
%%
551552
%% See (http://www.erlang.org/doc/man/inet.html#setopts-2) for
@@ -801,6 +802,15 @@ fun(Conf) ->
801802
end
802803
end}.
803804

805+
%% Number of delegate processes to use for intra-cluster
806+
%% communication. On a machine which has a very large number of cores
807+
%% and is also part of a cluster, you may wish to increase this value.
808+
%%
809+
810+
{mapping, "delegate_count", "rabbit.delegate_count", [
811+
{datatype, integer}, {validators, ["non_negative_integer"]}
812+
]}.
813+
804814
%% Mirror sync batch size, in messages. Increasing this will speed
805815
%% up syncing but total batch size in bytes must not exceed 2 GiB.
806816
%% Available in RabbitMQ 3.6.0 or later.

test/config_schema_SUITE_data/rabbit.snippets

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,5 +522,11 @@ credential_validator.regexp = ^abc\\d+",
522522
log.channel.file = file_name_channel",
523523
[{rabbit,[{log, [{categories, [{connection, [{file, "file_name_connection"}]},
524524
{channel, [{file, "file_name_channel"}]}]}]}]}],
525+
[]},
526+
{delegate_count,
527+
"delegate_count = 64",
528+
[{rabbit, [
529+
{delegate_count, 64}
530+
]}],
525531
[]}
526532
].

0 commit comments

Comments
 (0)