测试cap参数

This commit is contained in:
李鹏军 2024-04-10 19:51:07 +08:00
parent 80e1db40b2
commit 8c81406e6e

View File

@ -93,6 +93,8 @@ namespace SJZY.Track.Application
options.UseDispatchingPerGroup = configuration.GetValue<bool>("CAP:UseDispatchingPerGroup"); options.UseDispatchingPerGroup = configuration.GetValue<bool>("CAP:UseDispatchingPerGroup");
options.ConsumerThreadCount = configuration.GetValue<int>("CAP:ConsumerThreadCount"); options.ConsumerThreadCount = configuration.GetValue<int>("CAP:ConsumerThreadCount");
options.SucceedMessageExpiredAfter = configuration.GetValue<int>("CAP:SucceedMessageExpiredAfter"); options.SucceedMessageExpiredAfter = configuration.GetValue<int>("CAP:SucceedMessageExpiredAfter");
options.UseDispatchingPerGroup = true;
options.EnableConsumerPrefetch = true;
options.UseDashboard(dashboardOptions => options.UseDashboard(dashboardOptions =>
{ {