@@ -743,7 +743,7 @@ end}.
743
743
744
744
745
745
{mapping , " max_message_size" , " rabbit.max_message_size" ,
746
- [{datatype , integer }, {validators , [" less_then_512MB " ]}]}.
746
+ [{datatype , integer }, {validators , [" max_message_size " ]}]}.
747
747
748
748
% % Customising Socket Options.
749
749
% %
@@ -1019,7 +1019,7 @@ end}.
1019
1019
% % {mirroring_sync_batch_size, 4096},
1020
1020
1021
1021
{mapping , " mirroring_sync_batch_size" , " rabbit.mirroring_sync_batch_size" ,
1022
- [{datatype , bytesize }, {validators , [" size_less_than_2G " ]}]}.
1022
+ [{datatype , bytesize }, {validators , [" mirroring_sync_batch_size " ]}]}.
1023
1023
1024
1024
% % Peer discovery backend used by cluster formation.
1025
1025
% %
@@ -2050,14 +2050,14 @@ end}.
2050
2050
% Validators
2051
2051
% ===============================
2052
2052
2053
- {validator , " size_less_than_2G " , " Byte size should be less than 2G and greater than 0 " ,
2053
+ {validator , " mirroring_sync_batch_size " , " Batch size should be greater than 0 and less than 1M " ,
2054
2054
fun (Size ) when is_integer (Size ) ->
2055
- Size > 0 andalso Size < 2147483648
2055
+ Size > 0 andalso Size =< 1000000
2056
2056
end }.
2057
2057
2058
- {validator , " less_then_512MB " , " Max message size should be less than 512MB and gre than 0 " ,
2058
+ {validator , " max_message_size " , " Max message size should be between 0 and 512MB " ,
2059
2059
fun (Size ) when is_integer (Size ) ->
2060
- Size > 0 andalso Size < 536870912
2060
+ Size > 0 andalso Size = < 536870912
2061
2061
end }.
2062
2062
2063
2063
{validator , " less_than_1" , " Float is not between 0 and 1" ,
0 commit comments