This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-website.git
The following commit(s) were added to refs/heads/master by this push: new 5f16dc9 Fix web page wrong format 5f16dc9 is described below commit 5f16dc9a603e4d98c876b29362a14cbe5b1ebb46 Author: MabinGo <bin...@huawei.com> AuthorDate: Wed Jun 20 14:19:43 2018 +0800 Fix web page wrong format Signed-off-by: MabinGo <bin...@huawei.com> --- _users/cn/service-configurations.md | 8 +++++--- _users/service-configurations.md | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/_users/cn/service-configurations.md b/_users/cn/service-configurations.md index d65ca9c..6da4fea 100755 --- a/_users/cn/service-configurations.md +++ b/_users/cn/service-configurations.md @@ -88,7 +88,8 @@ servicecomb: 限流策略配置在microservice.yaml文件中,相关配置项见表2。要开启服务提供者端的限流策略,还需要在处理链中配置服务端限流handler,并添加pom依赖。 -* microservice.yaml配置示例如下: + microservice.yaml配置示例如下: + ```yaml servicecomb: handler: @@ -97,8 +98,9 @@ servicecomb: default: qps-flowcontrol-provider ``` -* 添加handler-flowcontrol-qps的pom依赖: -```yaml + 添加handler-flowcontrol-qps的pom依赖: + +```xml <dependency> <groupId>org.apache.servicecomb</groupId> <artifactId>handler-flowcontrol-qps</artifactId> diff --git a/_users/service-configurations.md b/_users/service-configurations.md index f870e3e..6fb4552 100755 --- a/_users/service-configurations.md +++ b/_users/service-configurations.md @@ -87,7 +87,8 @@ Users at the provider end can use the rate limiting policy to limit the maximum Rate limiting policies are configured in the microservice.yaml file. For related configuration items, see Table 2. To enable the rate limiting policy at the provider end, you also need to configure the rate limiting handler on the server in the processing chain and add dependencies in the pom.xml file. -* An example of microservice.yaml file configuration is as follows, + An example of microservice.yaml file configuration is as follows, + ```yaml servicecomb: handler: @@ -96,8 +97,9 @@ servicecomb: default: qps-flowcontrol-provider ``` -* Add dependencies of handler-flowcontrol-qps in the pom.xml file, -```yaml + Add dependencies of handler-flowcontrol-qps in the pom.xml file, + +```xml <dependency> <groupId>org.apache.servicecomb</groupId> <artifactId>handler-flowcontrol-qps</artifactId>