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

xiaoyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 8a4ffe0  Update index.md (#175)
8a4ffe0 is described below

commit 8a4ffe09a09bc0ad9c591ba1e578106716b4a57b
Author: midnight2104 <[email protected]>
AuthorDate: Wed Aug 4 14:31:06 2021 +0800

    Update index.md (#175)
---
 content/zh/projects/shenyu/data-sync/index.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/zh/projects/shenyu/data-sync/index.md 
b/content/zh/projects/shenyu/data-sync/index.md
index 6eec17d..e0af5be 100644
--- a/content/zh/projects/shenyu/data-sync/index.md
+++ b/content/zh/projects/shenyu/data-sync/index.md
@@ -41,7 +41,7 @@ description: 数据同步
 
 如下图所示,`shenyu-admin` 在用户发生配置变更之后,会通过 `EventPublisher` 发出配置变更通知,由 
`EventDispatcher` 
处理该变更通知,然后根据配置的同步策略(`http、weboscket、zookeeper、naocs、etcd、consul`),将配置发送给对应的事件处理器。
 
-- 如果是 `websocket` 同步策略,则将变更后的数据主动推送给 `shenyu-web`,并且在网关层,会有对应的 
`WebsocketCacheHandler` 处理器来处理 `shenyu-admin` 的数据推送。
+- 如果是 `websocket` 同步策略,则将变更后的数据主动推送给 `shenyu-web`,并且在网关层,会有对应的 
`WebsocketDataHandler` 处理器来处理 `shenyu-admin` 的数据推送。
 - 如果是 `zookeeper` 同步策略,将变更数据更新到 `zookeeper`,而 `ZookeeperSyncCache` 会监听到 
`zookeeper` 的数据变更,并予以处理。
 - 如果是 `http` 同步策略,由网关主动发起长轮询请求,默认有 `90s` 超时时间,如果 `shenyu-admin` 没有数据变更,则会阻塞 
`http` 请求,如果有数据发生变更则响应变更的数据信息,如果超过 `60s` 仍然没有数据变更则响应空数据,网关层接到响应后,继续发起 `http` 
请求,反复同样的请求。
 

Reply via email to