change:线程分组可配置

This commit is contained in:
李鹏军 2024-05-09 10:53:52 +08:00
parent de7d1daf81
commit 78c0aa1191

View File

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