Merge pull request #9186 from HJianBo/more-understanderable-trans

chore(docs): translate Max Awaiting PUBREL confs
This commit is contained in:
Zaiming (Stone) Shi 2022-10-21 17:29:28 +02:00 committed by GitHub
commit fa5d756ae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -869,23 +869,23 @@ When set to true, invalid utf8 strings in for example client ID, topic name, etc
mqtt_max_awaiting_rel { mqtt_max_awaiting_rel {
desc { desc {
en: """Maximum QoS 2 packets (Client -> Broker) awaiting PUBREL.""" en: """For each publisher session, the maximum number of outstanding QoS 2 messages pending on the client to send PUBREL. After reaching this limit, new QoS 2 PUBLISH requests will be rejected with `147(0x93)` until either PUBREL is received or timed out."""
zh: """PUBREL (Client -> Broker) 最大等待队列长度。""" zh: """每个发布者的会话中,都存在一个队列来处理客户端发送的 QoS 2 消息。该队列会存储 QoS 2 消息的报文 ID 直到收到客户端的 PUBREL 或超时,达到队列长度的限制后,新的 QoS 2 消息发布会被拒绝,并返回 `147(0x93)` 错误。"""
} }
label: { label: {
en: """Max Awaiting PUBREL""" en: """Max Awaiting PUBREL"""
zh: """Max Awaiting PUBREL""" zh: """PUBREL 等待队列长度"""
} }
} }
mqtt_await_rel_timeout { mqtt_await_rel_timeout {
desc { desc {
en: """The QoS 2 messages (Client -> Broker) will be dropped if awaiting PUBREL timeout.""" en: """For client to broker QoS 2 message, the time limit for the broker to wait before the `PUBREL` message is received. The wait is aborted after timed out, meaning the packet ID is freed for new `PUBLISH` requests. Receiving a stale `PUBREL` causes a warning level log. Note, the message is delivered to subscribers before entering the wait for PUBREL."""
zh: """PUBREL (Client -> Broker) 最大等待时间,超时则会被丢弃。""" zh: """客户端发布 QoS 2 消息时,服务器等待 `PUBREL` 的最长时延。超过该时长后服务器会放弃等待该PACKET ID 会被释放,从而允许后续新的 PUBLISH 消息使用。如果超时后收到 PUBREL服务器将会产生一条告警日志。注意向订阅客户端转发消息的动作发生在进入等待之前。"""
} }
label: { label: {
en: """Max Awaiting PUBREL TIMEOUT""" en: """Max Awaiting PUBREL TIMEOUT"""
zh: """Max Awaiting PUBREL TIMEOUT""" zh: """PUBREL 最大等待时间"""
} }
} }