You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by il...@apache.org on 2020/01/16 05:56:49 UTC

[dubbo-website] branch master updated: correct doc

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

iluo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 050e4d3  correct doc
050e4d3 is described below

commit 050e4d3932ceaaa23b0d655f066fea0e3dc6b157
Author: Ian Luo <ia...@gmail.com>
AuthorDate: Thu Jan 16 13:56:25 2020 +0800

    correct doc
---
 docs/en-us/user/demos/graceful-shutdown.md | 2 +-
 docs/zh-cn/user/demos/graceful-shutdown.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/en-us/user/demos/graceful-shutdown.md b/docs/en-us/user/demos/graceful-shutdown.md
index 3c5ccc3..253bea7 100644
--- a/docs/en-us/user/demos/graceful-shutdown.md
+++ b/docs/en-us/user/demos/graceful-shutdown.md
@@ -26,5 +26,5 @@ dubbo.service.shutdown.wait=15000
 If ShutdownHook does not take effect, you can call it yourself, **in tomcat, it is recommended by extending the ContextListener and call the following code for graceful shutdown**:
 
 ```java
-ProtocolConfig.destroyAll();
+DubboShutdownHook.destroyAll();
 ```
diff --git a/docs/zh-cn/user/demos/graceful-shutdown.md b/docs/zh-cn/user/demos/graceful-shutdown.md
index bc0429c..8c6da4f 100644
--- a/docs/zh-cn/user/demos/graceful-shutdown.md
+++ b/docs/zh-cn/user/demos/graceful-shutdown.md
@@ -26,5 +26,5 @@ dubbo.service.shutdown.wait=15000
 如果 ShutdownHook 不能生效,可以自行调用,**使用tomcat等容器部署的場景,建议通过扩展ContextListener等自行调用以下代码实现优雅停机**:
 
 ```java
-ProtocolConfig.destroyAll();
+DubboShutdownHook.destroyAll();
 ```
\ No newline at end of file