Merge pull request #9743 from zmstone/0112-docs-fix-some-descriptions

0112 docs fix some descriptions
This commit is contained in:
Zaiming (Stone) Shi 2023-01-16 09:56:56 +01:00 committed by GitHub
commit 376dab7cd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -328,7 +328,7 @@ fields("stats") ->
];
fields("authorization") ->
authz_fields();
fields("cache") ->
fields("authz_cache") ->
[
{"enable",
sc(
@ -1684,7 +1684,7 @@ desc("mqtt") ->
"Global MQTT configuration.<br/>"
"The configs here work as default values which can be overridden\n"
"in <code>zone</code> configs";
desc("cache") ->
desc("authz_cache") ->
"Settings for the authorization cache.";
desc("zone") ->
"A `Zone` defines a set of configuration items (such as the maximum number of connections)"
@ -2090,7 +2090,7 @@ authz_fields() ->
)},
{"cache",
sc(
ref(?MODULE, "cache"),
ref(?MODULE, "authz_cache"),
#{}
)}
].

View File

@ -35,11 +35,11 @@ emqx_connector_schema_lib {
pool_size {
desc {
en: "Size of the connection pool."
zh: "连接池大小。"
en: "Size of the connection pool towards the bridge target service."
zh: "桥接远端服务时使用的连接池大小。"
}
label: {
en: "Pool Size"
en: "Connection Pool Size"
zh: "连接池大小"
}
}

View File

@ -437,7 +437,7 @@ emqx_ee_bridge_kafka {
buffer_memory_overload_protection {
desc {
en: "Applicable when buffer mode is set to <code>memory</code> or <code>hybrid</code>.\n"
"EMQX will drop old cached messages under high memory pressure. "
"EMQX will drop old buffered messages under high memory pressure. "
"The high memory threshold is defined in config <code>sysmon.os.sysmem_high_watermark</code>. "
"NOTE: This config only works on Linux."
zh: "缓存模式是 <code>memory</code> 或 <code>hybrid</code> 时适用。"