浏览代码

Add docs for new CollectorCleaningInterval options.

master
Savorboard 3 年前
父节点
当前提交
a6f860aa87
共有 2 个文件被更改,包括 13 次插入1 次删除
  1. +7
    -1
      docs/content/user-guide/en/cap/configuration.md
  2. +6
    -0
      docs/content/user-guide/zh/cap/configuration.md

+ 7
- 1
docs/content/user-guide/en/cap/configuration.md 查看文件

@@ -85,11 +85,17 @@ During the message sending process if consumption method fails, CAP will try to
By default if failure occurs on send or consume, retry will start after **4 minutes** in order to avoid possible problems caused by setting message state delays.
Failures in the process of sending and consuming messages will be retried 3 times immediately, and will be retried polling after 3 times, at which point the FailedRetryInterval configuration will take effect.

### CollectorCleaningInterval

> Default: 300 sec

The interval of the collector processor deletes expired messages.

#### ConsumerThreadCount

> Default : 1

Number of consumer threads, when this value is greater than 1, the order of message execution cannot be guaranteed
Number of consumer threads, when this value is greater than 1, the order of message execution cannot be guaranteed.

#### FailedRetryCount



+ 6
- 0
docs/content/user-guide/zh/cap/configuration.md 查看文件

@@ -92,6 +92,12 @@ services.AddCap(config =>

消费者线程并行处理消息的线程数,当这个值大于1时,将不能保证消息执行的顺序。

### CollectorCleaningInterval

默认值:300 秒

收集器删除已经过期消息的时间间隔。

#### FailedRetryCount

默认值:50


正在加载...
取消
保存