Skip to content

Commit

Permalink
😊 调整 任务队列管道容量,从 3000 增加到 12000,提升消费吞吐量
Browse files Browse the repository at this point in the history
  • Loading branch information
MonkSoul committed Jun 17, 2024
1 parent f5c099d commit 4d9feb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public sealed class TaskQueueOptionsBuilder
/// <summary>
/// 默认内置任务队列内存通道容量
/// </summary>
/// <remarks>超过 n 条待处理消息,第 n+1 条将进入等待,默认为 3000</remarks>
public int ChannelCapacity { get; set; } = 3000;
/// <remarks>超过 n 条待处理消息,第 n+1 条将进入等待,默认为 12000</remarks>
public int ChannelCapacity { get; set; } = 12000;

/// <summary>
/// 未察觉任务异常事件处理程序
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public sealed class TaskQueueOptionsBuilder
/// <summary>
/// 默认内置任务队列内存通道容量
/// </summary>
/// <remarks>超过 n 条待处理消息,第 n+1 条将进入等待,默认为 3000</remarks>
public int ChannelCapacity { get; set; } = 3000;
/// <remarks>超过 n 条待处理消息,第 n+1 条将进入等待,默认为 12000</remarks>
public int ChannelCapacity { get; set; } = 12000;

/// <summary>
/// 未察觉任务异常事件处理程序
Expand Down

0 comments on commit 4d9feb3

Please sign in to comment.