Merge pull request #9892 from zmstone/0202-docs-cosmetic

0202 docs cosmetic
This commit is contained in:
Zaiming (Stone) Shi 2023-02-02 15:43:58 +01:00 committed by GitHub
commit feca4cc0a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View File

@ -46,8 +46,8 @@ emqx_schema {
overload_protection_backoff_delay { overload_protection_backoff_delay {
desc { desc {
en: "When at high load, some unimportant tasks could be delayed for execution, here set the duration in milliseconds precision." en: "The maximum duration of delay for background task execution during high load conditions."
zh: "高负载时,一些不重要的任务可能会延迟执行,在这里设置允许延迟的时间。单位为毫秒。" zh: "高负载时,一些不重要的任务可能会延迟执行,在这里设置允许延迟的时间。"
} }
label { label {
en: "Delay Time" en: "Delay Time"

View File

@ -1255,7 +1255,7 @@ Supervisor 报告的类型。默认为 error 类型。
log_overload_kill_restart_after { log_overload_kill_restart_after {
desc { desc {
en: """If the handler is terminated, it restarts automatically after a delay specified in milliseconds. The value `infinity` prevents restarts.""" en: """The handler restarts automatically after a delay in the event of termination, unless the value `infinity` is set, which blocks any subsequent restarts."""
zh: """如果处理进程终止,它会在以指定的时间后后自动重新启动。 `infinity` 不自动重启。""" zh: """如果处理进程终止,它会在以指定的时间后后自动重新启动。 `infinity` 不自动重启。"""
} }
label { label {

View File

@ -62,7 +62,7 @@ The default is false."""
duration { duration {
desc { desc {
en: """Indicates how long the alarm has lasted, in milliseconds.""" en: """Indicates how long the alarm has been active in milliseconds."""
zh: """表明告警已经持续了多久,单位:毫秒。""" zh: """表明告警已经持续了多久,单位:毫秒。"""
} }
} }

View File

@ -58,8 +58,8 @@ For bridges only have ingress direction data flow, it can be set to 0 otherwise
start_timeout { start_timeout {
desc { desc {
en: """If 'start_after_created' enabled, how long time do we wait for the resource get started, in milliseconds.""" en: """Time interval to wait for an auto-started resource to become healthy before responding resource creation requests."""
zh: """如果选择了创建后立即启动资源,此选项用来设置等待资源启动的超时时间,单位秒。""" zh: """在回复资源创建请求前等待资源进入健康状态的时间。"""
} }
label { label {
en: """Start Timeout""" en: """Start Timeout"""

View File

@ -865,7 +865,7 @@ call_query(QM0, Id, Index, Ref, Query, QueryOpts) ->
end. end.
do_call_query(QM, Id, Index, Ref, Query, #{is_buffer_supported := true} = QueryOpts, Resource) -> do_call_query(QM, Id, Index, Ref, Query, #{is_buffer_supported := true} = QueryOpts, Resource) ->
%% The connector supprots buffer, send even in disconnected state %% The connector supports buffer, send even in disconnected state
#{mod := Mod, state := ResSt, callback_mode := CBM} = Resource, #{mod := Mod, state := ResSt, callback_mode := CBM} = Resource,
CallMode = call_mode(QM, CBM), CallMode = call_mode(QM, CBM),
apply_query_fun(CallMode, Mod, Id, Index, Ref, Query, ResSt, QueryOpts); apply_query_fun(CallMode, Mod, Id, Index, Ref, Query, ResSt, QueryOpts);

View File

@ -220,7 +220,7 @@ emqx_ee_bridge_kafka {
desc { desc {
en: "When set to 'true', TCP buffer sent as soon as possible. " en: "When set to 'true', TCP buffer sent as soon as possible. "
"Otherwise, the OS kernel may buffer small TCP packets for a while (40 ms by default)." "Otherwise, the OS kernel may buffer small TCP packets for a while (40 ms by default)."
zh: "设置 true' 让系统内核立即发送。否则当需要发送当内容很少时,可能会有一定延迟(默认 40 毫秒)。" zh: "设置true让系统内核立即发送。否则当需要发送的内容很少时,可能会有一定延迟(默认 40 毫秒)。"
} }
label { label {
en: "No Delay" en: "No Delay"