You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2020/12/18 06:51:59 UTC

[apisix] branch master updated: fix: bad server_info example (#3074)

This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 952854d  fix: bad server_info example (#3074)
952854d is described below

commit 952854d7cd8def64db97cfd6585fd303219d4fb3
Author: Peter Zhu <st...@gmail.com>
AuthorDate: Fri Dec 18 14:51:50 2020 +0800

    fix: bad server_info example (#3074)
---
 doc/zh-cn/plugins/server-info.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/zh-cn/plugins/server-info.md b/doc/zh-cn/plugins/server-info.md
index 49230e2..375ac77 100644
--- a/doc/zh-cn/plugins/server-info.md
+++ b/doc/zh-cn/plugins/server-info.md
@@ -77,13 +77,13 @@ plugins:                          # plugin list
 | report_interval | integer | 60 | 上报服务信息至 etcd 的间隔(单位:秒,最大值:3600,最小值:60)|
 | report_ttl | integer | 7200 | etcd 中服务信息保存的 TTL(单位:秒,最大值:86400,最小值:3600)|
 
-下面的例子将 `report_interval` 修改成了 10 秒,并将 `report_ttl` 修改成了 1
+下面的例子将 `report_interval` 修改成了 10 分钟,并将 `report_ttl` 修改成了 1
 小时:
 
 ```yaml
 plugin_attr:
   server-info:
-    report_interval: 10
+    report_interval: 600
     report_ttl: 3600
 ```