fix(ft): fix schema descriptions

This commit is contained in:
Ilya Averyanov 2023-04-05 21:10:07 +03:00
parent 8b13d249eb
commit 918bdcae7d
3 changed files with 17 additions and 2 deletions

View File

@ -119,9 +119,23 @@ emqx_ft_schema {
zh: "" zh: ""
} }
label: { label: {
en: "GC Interval" en: "Max segment TTL"
zh: "" zh: ""
} }
} }
storage_gc_min_segments_ttl {
desc {
en: "Minimum TTL of a segment kept in the local file system.<br/>"
"This is a hard limit: no segment will be garbage collected before reaching this TTL, "
"even if some file transfer specifies a TTL less than that."
zh: ""
}
label: {
en: "Min segment TTL"
zh: ""
}
}
} }

View File

@ -163,6 +163,7 @@ fields(local_storage_segments_gc) ->
mk( mk(
emqx_schema:duration_s(), emqx_schema:duration_s(),
#{ #{
desc => ?DESC("storage_gc_min_segments_ttl"),
required => false, required => false,
default => "5m", default => "5m",
% NOTE % NOTE

View File

@ -1,7 +1,7 @@
emqx_s3_schema { emqx_s3_schema {
access_key_id { access_key_id {
desc { desc {
en: "The access key id of the S3 bucket." en: "The access key ID of the S3 bucket."
zh: "" zh: ""
} }
label { label {