This is an automated email from the ASF dual-hosted git repository. lixiaojie 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 f2181bb Update graceful-shutdown.md (#566) f2181bb is described below commit f2181bb96fe95d72e1a412dff0ac6bd908afdf23 Author: liber-xk <61538821+liber...@users.noreply.github.com> AuthorDate: Sat Mar 7 16:17:21 2020 +0800 Update graceful-shutdown.md (#566) --- docs/zh-cn/user/demos/graceful-shutdown.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/zh-cn/user/demos/graceful-shutdown.md b/docs/zh-cn/user/demos/graceful-shutdown.md index 8c6da4f..43dcd9b 100644 --- a/docs/zh-cn/user/demos/graceful-shutdown.md +++ b/docs/zh-cn/user/demos/graceful-shutdown.md @@ -23,8 +23,8 @@ Dubbo 是通过 JDK 的 ShutdownHook 来完成优雅停机的,所以如果用 dubbo.service.shutdown.wait=15000 ``` -如果 ShutdownHook 不能生效,可以自行调用,**使用tomcat等容器部署的場景,建议通过扩展ContextListener等自行调用以下代码实现优雅停机**: +如果 ShutdownHook 不能生效,可以自行调用,**使用tomcat等容器部署的场景,建议通过扩展ContextListener等自行调用以下代码实现优雅停机**: ```java DubboShutdownHook.destroyAll(); -``` \ No newline at end of file +```