Browse Source

Documentation Revamp

master
Savorboard 5 years ago
parent
commit
999d54a2bf
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      docs/content/user-guide-cn/implementation.md
  2. +0
    -0
      docs/content/user-guide-cn/transactions.md
  3. +1
    -1
      docs/content/user-guide/implementation.md
  4. +2
    -2
      docs/mkdocs.yml

docs/content/user-guide-cn/implementation-mechanisms.md → docs/content/user-guide-cn/implementation.md View File

@@ -71,7 +71,7 @@ CAP 里面发送一个消息可以看做是一个 “Event”,一个使用了C

**1、 发送重试**

在消息发送过程中,当出现 Broker 宕机或者连接失败的情况亦或者出现异常的情况下,这个时候 CAP 会对发送的重试,第一次重试次数为 3, 以后每分钟重试一次,进行次数 +1,当总次数达到50次后,CAP将不对其进行重试。
在消息发送过程中,当出现 Broker 宕机或者连接失败的情况亦或者出现异常的情况下,这个时候 CAP 会对发送的重试,第一次重试次数为 3,4分钟后以后每分钟重试一次,进行次数 +1,当总次数达到50次后,CAP将不对其进行重试。

> 你可以在 `CapOptions` 中设置`FailedRetryCount`来调整默认重试的总次数。


docs/content/user-guide-cn/distributed-transactions.md → docs/content/user-guide-cn/transactions.md View File


+ 1
- 1
docs/content/user-guide/implementation.md View File

@@ -66,7 +66,7 @@ Retry plays a very important role in CAP's infrastructure,CAP will retry for Fai

**1、 Retry on sending**

in the process of sending a message,when the Broker crashed or connection failed or exceptions are thrown,CAP will retry,it will retry 3 times for the first time,if still failed,then it will retry every 1 minute,the retry the retry count +1,when the retry count come to 50,CAP will not retry any more.
in the process of sending a message,when the Broker crashed or connection failed or exceptions are thrown,CAP will retry,it will retry 3 times for the first time,if still failed,then it will retry every 1 minute after 4 minutes,the retry the retry count +1,when the retry count come to 50,CAP will not retry any more.

>You can modify `FailedRetryCount` in `CapOptions` to change the default retry count.



+ 2
- 2
docs/mkdocs.yml View File

@@ -87,8 +87,8 @@ nav:
- API 接口: user-guide-cn/api-interface.md
- 配置: user-guide-cn/configuration.md
- 设计原理: user-guide-cn/design-principle.md
- 实现: user-guide-cn/implementation-mechanisms.md
- 分布式事务: user-guide-cn/distributed-transactions.md
- 实现: user-guide-cn/implementation.md
- 分布式事务: user-guide-cn/transactions.md
- FAQ: user-guide-cn/faq.md
- About:
- Release Notes: about/release-notes.md


Loading…
Cancel
Save