change:线程分组可配置
This commit is contained in:
parent
de7d1daf81
commit
78c0aa1191
@ -92,7 +92,7 @@ namespace SJZY.Track.Application
|
|||||||
options.FailedRetryCount = configuration.GetValue<int>("CAP:FailedRetryCount");
|
options.FailedRetryCount = configuration.GetValue<int>("CAP:FailedRetryCount");
|
||||||
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.UseDispatchingPerGroup = configuration.GetValue<bool>("CAP:UseDispatchingPerGroup");
|
||||||
options.EnableConsumerPrefetch = true;
|
options.EnableConsumerPrefetch = true;
|
||||||
|
|
||||||
options.UseDashboard(dashboardOptions =>
|
options.UseDashboard(dashboardOptions =>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user