@@ -619,7 +619,7 @@ end}.
619
619
620
620
621
621
{mapping , " max_message_size" , " rabbit.max_message_size" ,
622
- [{datatype , integer }, {validators , [" less_then_512MB " ]}]}.
622
+ [{datatype , integer }, {validators , [" max_message_size " ]}]}.
623
623
624
624
% % Customising Socket Options.
625
625
% %
@@ -895,7 +895,7 @@ end}.
895
895
% % {mirroring_sync_batch_size, 4096},
896
896
897
897
{mapping , " mirroring_sync_batch_size" , " rabbit.mirroring_sync_batch_size" ,
898
- [{datatype , bytesize }, {validators , [" size_less_than_2G " ]}]}.
898
+ [{datatype , bytesize }, {validators , [" mirroring_sync_batch_size " ]}]}.
899
899
900
900
% % Peer discovery backend used by cluster formation.
901
901
% %
@@ -1743,14 +1743,14 @@ end}.
1743
1743
% Validators
1744
1744
% ===============================
1745
1745
1746
- {validator , " size_less_than_2G " , " Byte size should be less than 2G and greater than 0 " ,
1746
+ {validator , " mirroring_sync_batch_size " , " Batch size should be greater than 0 and less than 1M " ,
1747
1747
fun (Size ) when is_integer (Size ) ->
1748
- Size > 0 andalso Size < 2147483648
1748
+ Size > 0 andalso Size =< 1000000
1749
1749
end }.
1750
1750
1751
- {validator , " less_then_512MB " , " Max message size should be less than 512MB and gre than 0 " ,
1751
+ {validator , " max_message_size " , " Max message size should be between 0 and 512MB " ,
1752
1752
fun (Size ) when is_integer (Size ) ->
1753
- Size > 0 andalso Size < 536870912
1753
+ Size > 0 andalso Size = < 536870912
1754
1754
end }.
1755
1755
1756
1756
{validator , " less_than_1" , " Float is not between 0 and 1" ,
0 commit comments