You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/03/23 08:27:50 UTC

[GitHub] [apisix] liangliang4ward opened a new pull request #6691: chore: remove extra charactor

liangliang4ward opened a new pull request #6691:
URL: https://github.com/apache/apisix/pull/6691


   ### Description
   remove extra charactor
   <!-- Please include a summary of the change and which issue is fixed. -->
   <!-- Please also include relevant motivation and context. -->
   
   Fixes # (issue)
   
   ### Checklist
   
   - [ ] I have explained the need for this PR and the problem it solves
   - [ ] I have explained the changes or the new features added to this PR
   - [ ] I have added tests corresponding to this change
   - [ ] I have updated the documentation to reflect this change
   - [ ] I have verified that this change is backward compatible (If not, please discuss on the [APISIX mailing list](https://github.com/apache/apisix/tree/master#community) first)
   
   <!--
   
   Note
   
   1. Mark the PR as draft until it's ready to be reviewed.
   2. Always add/update tests for any changes unless you have a good reason.
   3. Always update the documentation to reflect the changes made in the PR.
   4. Make a new commit to resolve conversations instead of `push -f`.
   5. To resolve merge conflicts, merge master instead of rebasing.
   6. Use "request review" to notify the reviewer after making changes.
   7. Only a reviewer can mark a conversation as resolved.
   
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] liangliang4ward commented on a change in pull request #6691: chore: delete extra characters

Posted by GitBox <gi...@apache.org>.
liangliang4ward commented on a change in pull request #6691:
URL: https://github.com/apache/apisix/pull/6691#discussion_r834114883



##########
File path: docs/zh/latest/plugins/limit-req.md
##########
@@ -30,7 +30,7 @@ title: limit-req
 | 名称          | 类型    | 必选项 | 默认值 | 有效值                                                                   | 描述                                                                                                                                              |
 | ------------- | ------- | ------ | ------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
 | rate          | integer | 必须   |        | rate > 0                                                                | 指定的请求速率(以秒为单位),请求速率超过 `rate` 但没有超过(`rate` + `burst`)的请求会被加上延时。                                             |
-| burst         | integer | 必须   |        | burst >= 0                                                              | t 请求速率超过(`rate` + `burst`)的请求会被直接拒绝。                                                                                            |
+| burst         | integer | 必须   |        | burst >= 0                                                              | 请求速率超过(`rate` + `burst`)的请求会被直接拒绝。                                                                                            |
 | key           | string  | 必须   |        | ["remote_addr", "server_addr", "http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | 用来做请求计数的依据,当前接受的 key 有:"remote_addr"(客户端 IP 地址), "server_addr"(服务端 IP 地址), 请求头中的"X-Forwarded-For" 或 "X-Real-IP","consumer_name"(consumer 的 username)。 |

Review comment:
       done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] hf400159 commented on a change in pull request #6691: chore: delete extra characters

Posted by GitBox <gi...@apache.org>.
hf400159 commented on a change in pull request #6691:
URL: https://github.com/apache/apisix/pull/6691#discussion_r833033482



##########
File path: docs/zh/latest/plugins/limit-req.md
##########
@@ -30,12 +30,12 @@ title: limit-req
 | 名称          | 类型    | 必选项 | 默认值 | 有效值                                                                   | 描述                                                                                                                                              |
 | ------------- | ------- | ------ | ------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
 | rate          | integer | 必须   |        | rate > 0                                                                | 指定的请求速率(以秒为单位),请求速率超过 `rate` 但没有超过 (`rate` + `burst`)的请求会被加上延时。                                             |
-| burst         | integer | 必须   |        | burst >= 0                                                              | t请求速率超过 (`rate` + `burst`)的请求会被直接拒绝。                                                                                            |
-| key           | string  | 必须   |        | ["remote_addr", "server_addr", "http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | 用来做请求计数的依据,当前接受的 key 有:"remote_addr"(客户端IP地址), "server_addr"(服务端 IP 地址), 请求头中的"X-Forwarded-For" 或 "X-Real-IP","consumer_name"(consumer 的 username)。 |
+| burst         | integer | 必须   |        | burst >= 0                                                              | 请求速率超过 (`rate` + `burst`)的请求会被直接拒绝。                                                                                            |

Review comment:
       ```suggestion
   | burst         | integer | 必须   |        | burst >= 0                                                              | 请求速率超过(`rate` + `burst`)的请求会被直接拒绝。                                                                                            |
   ```

##########
File path: docs/zh/latest/plugins/limit-req.md
##########
@@ -30,12 +30,12 @@ title: limit-req
 | 名称          | 类型    | 必选项 | 默认值 | 有效值                                                                   | 描述                                                                                                                                              |
 | ------------- | ------- | ------ | ------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
 | rate          | integer | 必须   |        | rate > 0                                                                | 指定的请求速率(以秒为单位),请求速率超过 `rate` 但没有超过 (`rate` + `burst`)的请求会被加上延时。                                             |
-| burst         | integer | 必须   |        | burst >= 0                                                              | t请求速率超过 (`rate` + `burst`)的请求会被直接拒绝。                                                                                            |
-| key           | string  | 必须   |        | ["remote_addr", "server_addr", "http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | 用来做请求计数的依据,当前接受的 key 有:"remote_addr"(客户端IP地址), "server_addr"(服务端 IP 地址), 请求头中的"X-Forwarded-For" 或 "X-Real-IP","consumer_name"(consumer 的 username)。 |
+| burst         | integer | 必须   |        | burst >= 0                                                              | 请求速率超过 (`rate` + `burst`)的请求会被直接拒绝。                                                                                            |
+| key           | string  | 必须   |        | ["remote_addr", "server_addr", "http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | 用来做请求计数的依据,当前接受的 key 有:"remote_addr"(客户端IP地址), "server_addr"(服务端 IP 地址), 请求头中的"X-Forwarded-For" 或 "X-Real-IP","consumer_name"( consumer 的 username )。 |
 | rejected_code | integer | 可选   | 503    | [200,...,599]                                                              | 当请求超过阈值被拒绝时,返回的 HTTP 状态码。                                                                                                        |
 | rejected_msg       | string | 可选                                |            | 非空                                          | 当请求超过阈值被拒绝时,返回的响应体。                                                                                                                                                                                                             |
-| nodelay       | boolean | 可选   | false  |                                                                         | 如果 nodelay 为 true, 请求速率超过 `rate` 但没有超过 (`rate` + `burst`)的请求不会加上延迟, 如果是 false,则会加上延迟。 |
-| allow_degradation              | boolean  | 可选                                | false       |                                                                     | 当限速插件功能临时不可用时是否允许请求继续。当值设置为 true 时则自动允许请求继续,默认值是 false。|
+| nodelay       | boolean | 可选   | false  |                                                                         | 如果 nodelay 为 true, 请求速率超过 `rate` 但没有超过 (`rate` + `burst`)的请求不会加上延迟, 如果是 false ,则会加上延迟。 |

Review comment:
       ```suggestion
   | nodelay       | boolean | 可选   | false  |                                                                         | 如果 nodelay 为 true, 请求速率超过 `rate` 但没有超过(`rate` + `burst`)的请求不会加上延迟, 如果是 false ,则会加上延迟。 |
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander merged pull request #6691: docs: delete extra characters

Posted by GitBox <gi...@apache.org>.
spacewander merged pull request #6691:
URL: https://github.com/apache/apisix/pull/6691


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] liangliang4ward commented on a change in pull request #6691: chore: delete extra characters

Posted by GitBox <gi...@apache.org>.
liangliang4ward commented on a change in pull request #6691:
URL: https://github.com/apache/apisix/pull/6691#discussion_r833068422



##########
File path: docs/zh/latest/plugins/limit-req.md
##########
@@ -30,12 +30,12 @@ title: limit-req
 | 名称          | 类型    | 必选项 | 默认值 | 有效值                                                                   | 描述                                                                                                                                              |
 | ------------- | ------- | ------ | ------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
 | rate          | integer | 必须   |        | rate > 0                                                                | 指定的请求速率(以秒为单位),请求速率超过 `rate` 但没有超过 (`rate` + `burst`)的请求会被加上延时。                                             |
-| burst         | integer | 必须   |        | burst >= 0                                                              | t请求速率超过 (`rate` + `burst`)的请求会被直接拒绝。                                                                                            |
-| key           | string  | 必须   |        | ["remote_addr", "server_addr", "http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | 用来做请求计数的依据,当前接受的 key 有:"remote_addr"(客户端IP地址), "server_addr"(服务端 IP 地址), 请求头中的"X-Forwarded-For" 或 "X-Real-IP","consumer_name"(consumer 的 username)。 |
+| burst         | integer | 必须   |        | burst >= 0                                                              | 请求速率超过 (`rate` + `burst`)的请求会被直接拒绝。                                                                                            |
+| key           | string  | 必须   |        | ["remote_addr", "server_addr", "http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | 用来做请求计数的依据,当前接受的 key 有:"remote_addr"(客户端IP地址), "server_addr"(服务端 IP 地址), 请求头中的"X-Forwarded-For" 或 "X-Real-IP","consumer_name"( consumer 的 username )。 |
 | rejected_code | integer | 可选   | 503    | [200,...,599]                                                              | 当请求超过阈值被拒绝时,返回的 HTTP 状态码。                                                                                                        |
 | rejected_msg       | string | 可选                                |            | 非空                                          | 当请求超过阈值被拒绝时,返回的响应体。                                                                                                                                                                                                             |
-| nodelay       | boolean | 可选   | false  |                                                                         | 如果 nodelay 为 true, 请求速率超过 `rate` 但没有超过 (`rate` + `burst`)的请求不会加上延迟, 如果是 false,则会加上延迟。 |
-| allow_degradation              | boolean  | 可选                                | false       |                                                                     | 当限速插件功能临时不可用时是否允许请求继续。当值设置为 true 时则自动允许请求继续,默认值是 false。|
+| nodelay       | boolean | 可选   | false  |                                                                         | 如果 nodelay 为 true, 请求速率超过 `rate` 但没有超过 (`rate` + `burst`)的请求不会加上延迟, 如果是 false ,则会加上延迟。 |

Review comment:
       done

##########
File path: docs/zh/latest/plugins/limit-req.md
##########
@@ -30,12 +30,12 @@ title: limit-req
 | 名称          | 类型    | 必选项 | 默认值 | 有效值                                                                   | 描述                                                                                                                                              |
 | ------------- | ------- | ------ | ------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
 | rate          | integer | 必须   |        | rate > 0                                                                | 指定的请求速率(以秒为单位),请求速率超过 `rate` 但没有超过 (`rate` + `burst`)的请求会被加上延时。                                             |
-| burst         | integer | 必须   |        | burst >= 0                                                              | t请求速率超过 (`rate` + `burst`)的请求会被直接拒绝。                                                                                            |
-| key           | string  | 必须   |        | ["remote_addr", "server_addr", "http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | 用来做请求计数的依据,当前接受的 key 有:"remote_addr"(客户端IP地址), "server_addr"(服务端 IP 地址), 请求头中的"X-Forwarded-For" 或 "X-Real-IP","consumer_name"(consumer 的 username)。 |
+| burst         | integer | 必须   |        | burst >= 0                                                              | 请求速率超过 (`rate` + `burst`)的请求会被直接拒绝。                                                                                            |

Review comment:
       done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] zaunist commented on a change in pull request #6691: chore: delete extra characters

Posted by GitBox <gi...@apache.org>.
zaunist commented on a change in pull request #6691:
URL: https://github.com/apache/apisix/pull/6691#discussion_r834106454



##########
File path: docs/zh/latest/plugins/limit-req.md
##########
@@ -30,7 +30,7 @@ title: limit-req
 | 名称          | 类型    | 必选项 | 默认值 | 有效值                                                                   | 描述                                                                                                                                              |
 | ------------- | ------- | ------ | ------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
 | rate          | integer | 必须   |        | rate > 0                                                                | 指定的请求速率(以秒为单位),请求速率超过 `rate` 但没有超过(`rate` + `burst`)的请求会被加上延时。                                             |
-| burst         | integer | 必须   |        | burst >= 0                                                              | t 请求速率超过(`rate` + `burst`)的请求会被直接拒绝。                                                                                            |
+| burst         | integer | 必须   |        | burst >= 0                                                              | 请求速率超过(`rate` + `burst`)的请求会被直接拒绝。                                                                                            |
 | key           | string  | 必须   |        | ["remote_addr", "server_addr", "http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | 用来做请求计数的依据,当前接受的 key 有:"remote_addr"(客户端 IP 地址), "server_addr"(服务端 IP 地址), 请求头中的"X-Forwarded-For" 或 "X-Real-IP","consumer_name"(consumer 的 username)。 |

Review comment:
       ```suggestion
   | key           | string  | 必须   |        | ["remote_addr", "server_addr", "http_x_real_ip", "http_x_forwarded_for", "consumer_name"] | 用来做请求计数的依据,当前接受的 key 有:"remote_addr"(客户端 IP 地址), "server_addr"(服务端 IP 地址), 请求头中的 "X-Forwarded-For" 或 "X-Real-IP","consumer_name"(consumer 的 username)。 |
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] liangliang4ward commented on pull request #6691: chore: delete extra characters

Posted by GitBox <gi...@apache.org>.
liangliang4ward commented on pull request #6691:
URL: https://github.com/apache/apisix/pull/6691#issuecomment-1077364529


   > Hi, @liangliang4ward, we just merged a PR[1] about Chinese Copyrriting autocorrect linter, would you please merge the master branch here? 😄
   > 
   > [1] #6568
   
   done


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org