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

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


The following commit(s) were added to refs/heads/asf-site by this push:
     new 6424dad  Automated deployment: Sat Mar  7 08:18:56 UTC 2020 
f2181bb96fe95d72e1a412dff0ac6bd908afdf23
6424dad is described below

commit 6424dad744d2f462446e6d669114c1c9c83dfd50
Author: lixiaojiee <lixiaoj...@users.noreply.github.com>
AuthorDate: Sat Mar 7 08:18:56 2020 +0000

    Automated deployment: Sat Mar  7 08:18:56 UTC 2020 
f2181bb96fe95d72e1a412dff0ac6bd908afdf23
---
 zh-cn/docs/user/demos/graceful-shutdown.html | 2 +-
 zh-cn/docs/user/demos/graceful-shutdown.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/zh-cn/docs/user/demos/graceful-shutdown.html 
b/zh-cn/docs/user/demos/graceful-shutdown.html
index 303fc28..a30ccda 100644
--- a/zh-cn/docs/user/demos/graceful-shutdown.html
+++ b/zh-cn/docs/user/demos/graceful-shutdown.html
@@ -30,7 +30,7 @@
 <pre><code class="language-properties"><span class="hljs-comment"># 
dubbo.properties</span>
 <span class="hljs-meta">dubbo.service.shutdown.wait</span>=<span 
class="hljs-string">15000</span>
 </code></pre>
-<p>如果 ShutdownHook 
不能生效,可以自行调用,<strong>使用tomcat等容器部署的場景,建议通过扩展ContextListener等自行调用以下代码实现优雅停机</strong>:</p>
+<p>如果 ShutdownHook 
不能生效,可以自行调用,<strong>使用tomcat等容器部署的场景,建议通过扩展ContextListener等自行调用以下代码实现优雅停机</strong>:</p>
 <pre><code class="language-java">DubboShutdownHook.destroyAll();
 </code></pre>
 </div></section><footer class="footer-container"><div class="footer-body"><img 
src="/img/dubbo_gray.png"/><img class="apache" src="/img/apache_logo.png"/><div 
class="cols-container"><div class="col col-12"><h3></h3><p></p></div><div 
class="col col-4"><dl><dt>ASF</dt><dd><a href="http://www.apache.org"; 
target="_self">基金会</a></dd><dd><a href="http://www.apache.org/licenses/"; 
target="_self">证书</a></dd><dd><a 
href="http://www.apache.org/events/current-event"; 
target="_self">事件</a></dd><dd><a  [...]
diff --git a/zh-cn/docs/user/demos/graceful-shutdown.json 
b/zh-cn/docs/user/demos/graceful-shutdown.json
index 0903fac..b68ac1b 100644
--- a/zh-cn/docs/user/demos/graceful-shutdown.json
+++ b/zh-cn/docs/user/demos/graceful-shutdown.json
@@ -1,6 +1,6 @@
 {
   "filename": "graceful-shutdown.md",
-  "__html": "<h1>优雅停机</h1>\n<p>Dubbo 是通过 JDK 的 ShutdownHook 来完成优雅停机的,所以如果用户使用 
<code>kill -9 PID</code> 等强制关闭指令,是不会执行优雅停机的,只有通过 <code>kill PID</code> 
时,才会执行。</p>\n<h2>原理</h2>\n<h3>服务提供方</h3>\n<ul>\n<li>停止时,先标记为不接收新请求,新请求过来时直接报错,让客户端重试其它机器。</li>\n<li>然后,检测线程池中的线程是否正在运行,如果有,等待所有线程执行完成,除非超时,则强制关闭。</li>\n</ul>\n<h3>服务消费方</h3>\n<ul>\n<li>停止时,不再发起新的调用请求,所有新的调用在客户端即报错。</li>\n<li>然后,检测有没有请求的响应还没有返回,等待响应返回,除非超时,则强制关闭。</li>\n</ul>\n<h2>设置方式</h2>\n<p>设置优雅停机超时时间,缺省超时时间是
 10 秒,如果超时则强制关闭。</p>\n<pre><cod [...]
+  "__html": "<h1>优雅停机</h1>\n<p>Dubbo 是通过 JDK 的 ShutdownHook 来完成优雅停机的,所以如果用户使用 
<code>kill -9 PID</code> 等强制关闭指令,是不会执行优雅停机的,只有通过 <code>kill PID</code> 
时,才会执行。</p>\n<h2>原理</h2>\n<h3>服务提供方</h3>\n<ul>\n<li>停止时,先标记为不接收新请求,新请求过来时直接报错,让客户端重试其它机器。</li>\n<li>然后,检测线程池中的线程是否正在运行,如果有,等待所有线程执行完成,除非超时,则强制关闭。</li>\n</ul>\n<h3>服务消费方</h3>\n<ul>\n<li>停止时,不再发起新的调用请求,所有新的调用在客户端即报错。</li>\n<li>然后,检测有没有请求的响应还没有返回,等待响应返回,除非超时,则强制关闭。</li>\n</ul>\n<h2>设置方式</h2>\n<p>设置优雅停机超时时间,缺省超时时间是
 10 秒,如果超时则强制关闭。</p>\n<pre><cod [...]
   "link": "/zh-cn/docs/user/demos/graceful-shutdown.html",
   "meta": {}
 }
\ No newline at end of file

Reply via email to