Merge pull request #8100 from zmstone/0531-sync-default-from-file-to-schema

fix(emqx_schema): sync default values
This commit is contained in:
JianBo He 2022-05-31 21:50:08 +08:00 committed by GitHub
commit 65169a0127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,3 @@
listeners.tcp.default {
bind: "0.0.0.0:1883"
max_connections: 1024000

View File

@ -1017,7 +1017,10 @@ fields("tcp_opts") ->
{"buffer",
sc(
bytesize(),
#{desc => ?DESC(fields_tcp_opts_buffer)}
#{
desc => ?DESC(fields_tcp_opts_buffer),
default => "4KB"
}
)},
{"high_watermark",
sc(